24 lines
438 B
Desktop File
24 lines
438 B
Desktop File
[Unit]
|
|
Description=DDNS Service - Dynamic DNS Update Service
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=ddns
|
|
Group=ddns
|
|
WorkingDirectory=/opt/ddns-service
|
|
ExecStart=/usr/bin/ddns-service --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-service
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|