Initial commit
This commit is contained in:
23
ddns-daemon.service
Normal file
23
ddns-daemon.service
Normal file
@@ -0,0 +1,23 @@
|
||||
[Unit]
|
||||
Description=DDNS Daemon - Dynamic DNS Update Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=ddns
|
||||
Group=ddns
|
||||
WorkingDirectory=/opt/ddns-daemon
|
||||
ExecStart=/usr/bin/ddns-daemon --daemon
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
# Security hardening
|
||||
NoNewPrivileges=yes
|
||||
ProtectSystem=strict
|
||||
ProtectHome=yes
|
||||
PrivateTmp=yes
|
||||
ReadWritePaths=/var/lib/ddns-daemon
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user