update struct

This commit is contained in:
2025-04-05 16:12:13 +05:00
parent b40221582d
commit 4aecc5eddf
8 changed files with 94 additions and 0 deletions

15
hard/monitor.service Normal file
View File

@@ -0,0 +1,15 @@
[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
ExecStop=kill -9 $PID
Restart=always
[Install]
WantedBy=multi-user.target
Alias=monitor.service