Update status-server.service

This commit is contained in:
jwstaceyOvO 2022-02-14 13:23:25 +08:00 committed by GitHub
parent 0219d21ad5
commit 050a6f78dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,8 +3,8 @@ Description=ServerStatus-Server
After=network.target
[Service]
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
Restart=on-failure
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target