Add Debian packaging to the App #32

Merged
Neshura merged 38 commits from debian into main 2023-12-29 01:08:30 +00:00
2 changed files with 22 additions and 0 deletions
Showing only changes of commit 5aa2f62c66 - Show all commits

View file

@ -7,7 +7,16 @@ description = "Application for automatically updating Cloudflare DNS records"
license = "GPL-3.0-or-later"
[package.metadata.deb]
extended-description = "Application for automatically updating Cloudflare DNS records"
maintainer-scripts = ""
revision = "1"
[package.metadata.deb.systemd-units]
enable = true
start = true
restart-after-upgrade = true
stop-on-upgrde = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

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