diff options
Diffstat (limited to 'machines')
-rw-r--r-- | machines/srv1/configuration.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/machines/srv1/configuration.nix b/machines/srv1/configuration.nix index fb74773..9a95092 100644 --- a/machines/srv1/configuration.nix +++ b/machines/srv1/configuration.nix @@ -238,13 +238,13 @@ in systemd = { services.molly-brown.serviceConfig.SupplementaryGroups = [ config.security.acme.certs."niedzwiedzinski.cyou".group ]; services.noip = { - script = '' - #!/bin/sh - ${pkgs.noip}/bin/noip2 -c /etc/noip2.conf - ''; + enable = true; + after = [ "network.target" "syslog.target" ]; serviceConfig = { User = "root"; + ExecStart = "${pkgs.noip}/bin/noip2 -c /etc/noip2.conf"; Restart = "always"; + Type = "forking"; }; }; services.git-fetch = { |