summarylogtreecommitdiffstats
path: root/dynamic-dns-netcup-api.service
blob: 28d8e0f75b262bcc077dacd97bf83b9cfed63276 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=periodic update of netcup dynDNS
After=network-online.target

[Service]
ExecStart=/usr/bin/php -d open_basedir=/usr/share/dynamic-dns-netcup-api/:/etc/dynamic-dns-netcup-api/ -f /usr/share/dynamic-dns-netcup-api/update.php -- -c /etc/dynamic-dns-netcup-api/config.php

Type=oneshot
ProtectSystem=strict
ProtectHome=true
NoNewPrivileges=true
PrivateTmp=true
PrivateDevices=true