Different install target for user systemd service unit
All checks were successful
Run Tests on Code / run-tests (push) Successful in 13s
All checks were successful
Run Tests on Code / run-tests (push) Successful in 13s
This commit is contained in:
parent
ffcaeb9d4b
commit
b9419a5446
2 changed files with 14 additions and 1 deletions
|
@ -17,7 +17,7 @@ assets = [
|
|||
"755",
|
||||
],
|
||||
[
|
||||
"debian/cloudflare-dns-updater.service",
|
||||
"debian/cloudflare-dns-updater-user.service",
|
||||
"/lib/systemd/user/cloudflare-dns-updater.service",
|
||||
"755",
|
||||
],
|
||||
|
|
13
debian/cloudflare-dns-updater-user.service
vendored
Normal file
13
debian/cloudflare-dns-updater-user.service
vendored
Normal 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=default.target
|
Loading…
Reference in a new issue