فهرست منبع

fix the restart

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