Update status-server.service

This commit is contained in:
jwstaceyOvO 2022-02-22 17:00:13 +08:00 committed by GitHub
parent cab0f8bc91
commit f1559bfb55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,7 +2,7 @@
Description=ServerStatus-Server Description=ServerStatus-Server
After=network.target After=network.target
[Service] [Service]
ExecStart=/usr/local/ServerStatus/server/sergate --config=/usr/local/ServerStatus/server/config.json --web-dir=/usr/local/ServerStatus/web ExecStart=/usr/local/ServerStatus/server/sergate --config=/usr/local/ServerStatus/server/config.json --web-dir=/usr/local/ServerStatus/web --port $PORT
ExecReload=/bin/kill -HUP $MAINPID ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure Restart=on-failure
[Install] [Install]