mirror of
https://github.com//cppla/ServerStatus
synced 2025-07-05 17:05:59 +08:00
Update status-server.service
This commit is contained in:
parent
0219d21ad5
commit
050a6f78dc
@ -3,8 +3,8 @@ Description=ServerStatus-Server
|
|||||||
After=network.target
|
After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=/usr/local/ServerStatus/server/config.conf
|
EnvironmentFile=/usr/local/ServerStatus/server/config.conf
|
||||||
ExecStart=/root/ServerStatus/server/sergate --config=config.json --web-dir=/var/www/html
|
ExecStart=/root/ServerStatus/server/sergate --config=config.json --web-dir=/usr/local/ServerStatus/web
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user