Browse Source

fix the restart

Théo Bougé 9 years ago
parent
commit
5a2093b053
1 changed files with 5 additions and 1 deletions
  1. 5 1
      packager/debian/postinst

+ 5 - 1
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