Fixed systemd unit files
parent
78b92b0969
commit
6fe01eb1dc
|
@ -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
|
||||||
|
|
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue