Обновить monitor.service
This commit is contained in:
parent
d8abff6cff
commit
16dc657a78
@ -7,6 +7,7 @@ Type=simple
|
|||||||
User=YOU_USER
|
User=YOU_USER
|
||||||
Group=YOU_GPOUP
|
Group=YOU_GPOUP
|
||||||
ExecStart=/bin/python3 /you/path/to/monitor.py
|
ExecStart=/bin/python3 /you/path/to/monitor.py
|
||||||
|
ExecStop=kill -9 $PID
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user