forked from wyattjoh/cloudflare-ddns
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
55 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[Unit] | ||
Description=Cloudflare DDNS Client | ||
After=network.target nss-lookup.target | ||
|
||
[Service] | ||
# If the version of systemd is 240 or above, then uncommenting Type=exec and commenting out Type=simple | ||
#Type=exec | ||
Type=simple | ||
# This service runs as root. You may consider to run it as another user for security concerns. | ||
# By uncommenting User=nobody and commenting out User=root, the service will run as user nobody. | ||
#User=root | ||
User=nobody | ||
EnvironmentFile=/etc/conf.d/cloudflare-ddns | ||
ExecStart=/usr/bin/cloudflare-ddns | ||
Restart=on-failure | ||
|
||
[Install] | ||
WantedBy=multi-user.target |