Добавить monitor.service
This commit is contained in:
parent
a1f23fbe35
commit
d8abff6cff
14
monitor.service
Normal file
14
monitor.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Monitor Domain Avability
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=YOU_USER
|
||||
Group=YOU_GPOUP
|
||||
ExecStart=/bin/python3 /you/path/to/monitor.py
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Alias=monitor.service
|
Loading…
x
Reference in New Issue
Block a user