diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-10-06 11:47:00 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-10-06 11:47:00 +0200 |
commit | 4ecb39719e21e62716a268d4647b3ee924aab66a (patch) | |
tree | 42f7468f40ef18059652335f0405f5307dfdc41c | |
parent | 34d8490a72aa6eff548ac2d00c06dc328b3776bb (diff) | |
download | dots-4ecb39719e21e62716a268d4647b3ee924aab66a.tar.gz dots-4ecb39719e21e62716a268d4647b3ee924aab66a.zip |
Fix noip service
-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 = { |