Fixed systemd unit files

master
Cloud9 GF4 wgapi 2021-10-23 15:44:55 -06:00
parent 78b92b0969
commit 6fe01eb1dc
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[Unit] [Unit]
Description=Restart a wireguard service Description=Restart a wireguard service
Requires=wg-quick@%i After=wg-quick@%i.service
[Service] [Service]
Type=oneshot Type=oneshot

View File

@ -1,9 +1,9 @@
[Unit] [Unit]
Description=Restart wg-quick@%i every 10 minutes Description=Restart wg-quick@%i every 10 minutes
Requires=wg-quick@%i.service After=wg-quick@%i.service
[Timer] [Timer]
OnCalendar=OnCalendar=*:0/10 OnCalendar=*:0/10
Unit=restart-wg-quick@%i.service Unit=restart-wg-quick@%i.service
[Install] [Install]