mirror of
https://github.com//cppla/ServerStatus
synced 2025-06-02 21:59:51 +08:00
commit
0b9e747cc9
9
service/status-client.service
Normal file
9
service/status-client.service
Normal file
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=ServerStatus-Client
|
||||
After=network.target
|
||||
[Service]
|
||||
ExecStart=/usr/bin/python3 /usr/local/ServerStatus/clients/client-linux.py
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=on-failure
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
9
service/status-server.service
Normal file
9
service/status-server.service
Normal file
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=ServerStatus-Server
|
||||
After=network.target
|
||||
[Service]
|
||||
ExecStart=/usr/local/ServerStatus/server/sergate --config=/usr/local/ServerStatus/server/config.json --web-dir=/usr/local/ServerStatus/web
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=on-failure
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user