Добавить monitor.service

This commit is contained in:
mt77 2025-02-21 01:53:08 +05:00
parent a1f23fbe35
commit d8abff6cff

14
monitor.service Normal file
View 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