Explorar el Código

fix the restart

Théo Bougé hace 9 años
padre
commit
5a2093b053
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  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