]> source.dussan.org Git - gitea.git/commitdiff
fix the restart
authorThéo Bougé <theo.bouge@gmail.com>
Fri, 25 Sep 2015 15:58:46 +0000 (17:58 +0200)
committerThéo Bougé <theo.bouge@gmail.com>
Fri, 25 Sep 2015 15:58:46 +0000 (17:58 +0200)
packager/debian/postinst

index 2101dd75c3e44a98e9631170826e9f5f3925e99a..1c0b57b066adbbc28b8684205e78495e827fefff 100755 (executable)
@@ -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