summaryrefslogtreecommitdiffstats
path: root/packager
diff options
context:
space:
mode:
authorThéo Bougé <theo.bouge@gmail.com>2015-09-25 17:58:46 +0200
committerThéo Bougé <theo.bouge@gmail.com>2015-09-25 17:58:46 +0200
commit5a2093b053d40338339cfc6e0cc326c5f1db7aae (patch)
treea8e3918fc45dfcd7103682af68b8d54cae8185f5 /packager
parent2f23cf98ea642a0aad542a83f25df2d51d58b51b (diff)
downloadgitea-5a2093b053d40338339cfc6e0cc326c5f1db7aae.tar.gz
gitea-5a2093b053d40338339cfc6e0cc326c5f1db7aae.zip
fix the restart
Diffstat (limited to 'packager')
-rwxr-xr-xpackager/debian/postinst6
1 files changed, 5 insertions, 1 deletions
diff --git a/packager/debian/postinst b/packager/debian/postinst
index 2101dd75c3..1c0b57b066 100755
--- a/packager/debian/postinst
+++ b/packager/debian/postinst
@@ -28,8 +28,12 @@ case "$1" in
# scale
${CLI} scale web=1 || true
+
+ #restart the service
+ service gogs restart || true
+
;;
-service gogs restart || true
+
esac