diff --git a/systemd/system/policy-routes@.service b/systemd/system/policy-routes@.service index 5093bbd..5154dd5 100644 --- a/systemd/system/policy-routes@.service +++ b/systemd/system/policy-routes@.service @@ -3,6 +3,7 @@ Description=Set up policy routes for %I StartLimitIntervalSec=10 StartLimitBurst=5 Wants=refresh-policy-routes@%i.timer +CollectMode=inactive-or-failed [Install] Also=refresh-policy-routes@%i.timer @@ -15,7 +16,4 @@ AmbientCapabilities=CAP_NET_ADMIN NoNewPrivileges=yes User=root ExecStart=/usr/bin/setup-policy-routes %i start -Restart=on-failure -RestartSec=1 -RestartPreventExitStatus=2 KillMode=process diff --git a/systemd/system/refresh-policy-routes@.service b/systemd/system/refresh-policy-routes@.service index 0c0c050..7b0f945 100644 --- a/systemd/system/refresh-policy-routes@.service +++ b/systemd/system/refresh-policy-routes@.service @@ -1,5 +1,6 @@ [Unit] Description=Refresh policy routes for %I +CollectMode=inactive-or-failed [Service] Type=oneshot