commit | e8a5d8f1fc233ed5d4155d6f893b4577206e8ffc | [log] [tgz] |
---|---|---|
author | vuko <vuko@hackerspace.pl> | Sun Jun 26 19:09:43 2022 +0200 |
committer | vuko <vuko@hackerspace.pl> | Sun Jun 26 22:10:00 2022 +0000 |
tree | 0c9741b0eaff2e35a47002840f1bc288f1ea8e84 | |
parent | 7ad415f7fb41a4b47b9ce83c37074d980367fc2d [diff] |
hswaw/customs: fix laserproxy startup dependencies fixes https://issues.hackerspace.pl/issues/60 Change-Id: I3601d03898555a0299e6530ca1dee9127a19f1ef Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1326 Reviewed-by: q3k <q3k@hackerspace.pl> Reviewed-by: informatic <informatic@hackerspace.pl>
diff --git a/hswaw/machines/customs.hackerspace.pl/laserproxy/service.nix b/hswaw/machines/customs.hackerspace.pl/laserproxy/service.nix index 65f911a..e9e361a 100644 --- a/hswaw/machines/customs.hackerspace.pl/laserproxy/service.nix +++ b/hswaw/machines/customs.hackerspace.pl/laserproxy/service.nix
@@ -15,10 +15,12 @@ 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"; };