diff --git a/hswaw/machines/customs.hackerspace.pl/laserproxy/service.nix b/hswaw/machines/customs.hackerspace.pl/laserproxy/service.nix index 65f911a3..e9e361a5 100644 --- a/hswaw/machines/customs.hackerspace.pl/laserproxy/service.nix +++ b/hswaw/machines/customs.hackerspace.pl/laserproxy/service.nix @@ -15,10 +15,12 @@ in { systemd.services."${name}" = { description = "Logging packet log from nftables"; wantedBy = [ "multi-user.target" ]; + after = ["network-addresses-laser.service"]; serviceConfig.User = "${user}"; serviceConfig.Type = "simple"; - + serviceConfig.Restart = "always"; + serviceConfig.RestartSec = "30"; serviceConfig.ExecStart = "${workspace.hswaw.laserproxy}/bin/laserproxy -logtostderr -hspki_disable -web_address 127.0.0.1:2137"; };