Add systemd unit to debian package

This commit is contained in:
Neshura 2023-12-29 00:38:52 +01:00
parent ee2b492851
commit 5aa2f62c66
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,13 @@
[Unit]
Description="Application for automatically updating Cloudflare DNS records"
After=syslog.target
After=network-online.target
[Service]
Type=simple
ExecStart=/usr/local/bin/cloudflare-dns-updater
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target