This commit is contained in:
Alex Yang
2026-01-16 11:09:11 +08:00
parent 8159577be0
commit cdac4fcf43
284 changed files with 2813570 additions and 14 deletions

24
dns/dns-server.service Normal file
View File

@@ -0,0 +1,24 @@
[Unit]
Description=Monitor Agent (Binary Service)
After=network.target
Wants=network.target
[Service]
Type=forking
User=root
Group=root
ExecStart=/root/dns/start.sh start
ExecStop=/root/dns/start.sh stop
WorkingDirectory=/root/dns
Restart=always
RestartSec=3
StartLimitInterval=60s
StartLimitBurst=5
KillSignal=SIGTERM
TimeoutStopSec=10
PrivateTmp=true
ProtectSystem=strict
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target