modules(acme-dns): some fixes
This commit is contained in:
parent
e8305b7435
commit
83ec9ca4dd
1 changed files with 2 additions and 3 deletions
|
@ -65,7 +65,7 @@ in
|
|||
};
|
||||
|
||||
api = {
|
||||
ip = cfg.api.isten;
|
||||
ip = cfg.api.listen;
|
||||
disable_registration = false;
|
||||
port = cfg.api.port;
|
||||
tls = "none";
|
||||
|
@ -91,13 +91,12 @@ in
|
|||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
DynamicUser = true;
|
||||
|
||||
startLimitBurst = 4;
|
||||
startLimitIntervalSec = 5 * 60; # 5 mins
|
||||
serviceConfig = {
|
||||
AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ];
|
||||
DynamicUser = true;
|
||||
BindPaths = [ cfg.stateDir ];
|
||||
ExecStart = "${cfg.package}/bin/acme-dns -d -c ${configFile}";
|
||||
Restart = "always";
|
||||
RestartSec = "4s";
|
||||
|
|
Loading…
Reference in a new issue