fix: change service user
This commit is contained in:
@@ -69,7 +69,6 @@
|
||||
|
||||
### 5) Define the oneshot service
|
||||
systemd.services.updns-client = lib.mkIf config.cloonar-assistant.updns-client.enable {
|
||||
user = "updns-client";
|
||||
description = "Check external IP and notify API on change";
|
||||
after = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
@@ -77,6 +76,7 @@
|
||||
Type = "oneshot";
|
||||
WorkingDirectory = "/var/lib/updns-client";
|
||||
ExecStart = "${pkgs.bash}/bin/bash /etc/updns-client/run.sh";
|
||||
User = "updns-client";
|
||||
};
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user