Théo Bougé преди 9 години
родител
ревизия
5a2093b053
променени са 1 файла, в които са добавени 5 реда и са изтрити 1 реда
  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