瀏覽代碼

fix systemd service

blezz-tech 2 月之前
父節點
當前提交
c4127db2cb
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      sharix_open.service

+ 2 - 1
sharix_open.service

@@ -4,7 +4,8 @@ After=multi-user.target
 
 [Service]
 Type=simple
-ExecStart=/root/sharix-open-webapp-base/bin/webuser.sh
+WorkingDirectory=/root/sharix-open-webapp-base
+ExecStart=/root/sharix-open-webapp-base/bin/start.sh
 
 [Install]
 WantedBy=multi-user.target