system/systemd/dyndns-pdns.service

16 lines
279 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Dynamic DNS Collector
After=network.target
[Service]
Type=simple
User=dyndns
Group=dyndns
WorkingDirectory=/opt/dyndns/
ExecStart=/opt/dyndns/go/bin/dyndns-pdns -config=/opt/dyndns/config.yml
RestartSec=15
Restart=always
[Install]
WantedBy=multi-user.target