Parcourir la source

fix the restart

Théo Bougé il y a 9 ans
Parent
commit
5a2093b053
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  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