ddns/systemd/ddns.service
2026-11-28 15:28:07 +02:00

26 lines
665 B
Desktop File

[Unit]
Description=MozOut dynamic DNS update
Documentation=https://docs.mozout.com/dns/
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
EnvironmentFile=/etc/mozout-ddns.conf
Environment=DDNS_STATE_DIR=/var/lib/mozout-ddns
ExecStart=/usr/local/bin/mozout-ddns -q
DynamicUser=yes
StateDirectory=mozout-ddns
NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=strict
ProtectHome=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectControlGroups=yes
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX AF_NETLINK
RestrictNamespaces=yes
LockPersonality=yes
MemoryDenyWriteExecute=yes
SystemCallArchitectures=native