forked from joohoi/acme-dns
-
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.
Add systemd service information (joohoi#83)
* Add systemd service information * Requested changes for systemd service information
- Loading branch information
Showing
3 changed files
with
31 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -15,3 +15,4 @@ archive: | |
- README.md | ||
- Dockerfile | ||
- config.cfg | ||
- acme-dns.service |
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,13 @@ | ||
[Unit] | ||
Description=Limited DNS server with RESTful HTTP API to handle ACME DNS challenges easily and securely | ||
After=network.target | ||
|
||
[Service] | ||
User=acme-dns | ||
Group=acme-dns | ||
AmbientCapabilities=CAP_NET_BIND_SERVICE | ||
ExecStart=/usr/local/bin/acme-dns | ||
Restart=on-failure | ||
|
||
[Install] | ||
WantedBy=multi-user.target |