diff options
author | mickybart | 2024-04-02 09:38:34 -0400 |
---|---|---|
committer | mickybart | 2024-04-02 09:38:34 -0400 |
commit | 38dc8eca20fb513ff1db869ccd98c356843aa14a (patch) | |
tree | 4f31a075240a507491eca42262f654bd2f038018 /gandictl-ddns.service | |
download | aur-gandictl-git.tar.gz |
version r36.c1821c3
Diffstat (limited to 'gandictl-ddns.service')
-rw-r--r-- | gandictl-ddns.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gandictl-ddns.service b/gandictl-ddns.service new file mode 100644 index 000000000000..702ec7e1cfb5 --- /dev/null +++ b/gandictl-ddns.service @@ -0,0 +1,14 @@ +[Unit] +Description=Start Gandi Dynamic DNS Updater +After=network-online.target + +[Service] +Type=simple +User=gddns +Group=gddns +DynamicUser=true +EnvironmentFile=/etc/conf.d/gandictl-ddns +ExecStart=/bin/sh -c '/usr/bin/gandictl live-dns apply record ${FQDN} ${NAME} ${TYPE} --rrset-ttl ${TTL} --rrset-values $(curl -s ${IP})' + +[Install] +WantedBy=multi-user.target
\ No newline at end of file |