-
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.
Upgrade the application to Systemd service
- Loading branch information
Praveen Premaratne
committed
Apr 23, 2022
1 parent
43c34d4
commit 18aa17a
Showing
2 changed files
with
63 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[Unit] | ||
Description=DynDNS | ||
After=network.target network-online.target | ||
StartLimitIntervalSec=60s | ||
StartLimitBurst=3 | ||
|
||
[Service] | ||
Environment=CF_token='' | ||
Environment=Domain='' | ||
Environment=Subdomain='' | ||
Environment=CF_proxy_disabled=1 | ||
ExecStart=/usr/local/bin/DynDNS | ||
Type=simple | ||
User=root | ||
Group=root | ||
Restart=always | ||
RestartSec=5 | ||
SyslogIdentifier=DynDNS | ||
StandardOutput=journal | ||
StandardError=journal | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
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