mirror of
https://github.com//cppla/ServerStatus
synced 2025-07-06 17:35:59 +08:00
Create status-client.service
This commit is contained in:
parent
4792821e8e
commit
7d02f16fff
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 /root/ServerStatus/clients/client-linux.py
|
||||||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
|
Restart=on-failure
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user