26 linhas
695 B
Desktop File
26 linhas
695 B
Desktop File
[Unit]
|
|
Description=Interweb Angola dynamic DNS update
|
|
Documentation=https://docs.interweb.ao/dns/
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
EnvironmentFile=/etc/interweb-ao-ddns.conf
|
|
Environment=DDNS_STATE_DIR=/var/lib/interweb-ao-ddns
|
|
ExecStart=/usr/local/bin/interweb-ao-ddns -q
|
|
DynamicUser=yes
|
|
StateDirectory=interweb-ao-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
|