diff --git a/systemd/restart-wg-quick@.service b/systemd/restart-wg-quick@.service index 076af8f..40e387c 100644 --- a/systemd/restart-wg-quick@.service +++ b/systemd/restart-wg-quick@.service @@ -1,6 +1,6 @@ [Unit] Description=Restart a wireguard service -Requires=wg-quick@%i +After=wg-quick@%i.service [Service] Type=oneshot diff --git a/systemd/restart-wg-quick@.timer b/systemd/restart-wg-quick@.timer index 6ee22c1..80fe262 100644 --- a/systemd/restart-wg-quick@.timer +++ b/systemd/restart-wg-quick@.timer @@ -1,9 +1,9 @@ [Unit] Description=Restart wg-quick@%i every 10 minutes -Requires=wg-quick@%i.service +After=wg-quick@%i.service [Timer] -OnCalendar=OnCalendar=*:0/10 +OnCalendar=*:0/10 Unit=restart-wg-quick@%i.service [Install]