README.md hinzugefügt
This commit is contained in:
parent
f513aec907
commit
7aa650b9ec
1 changed files with 18 additions and 0 deletions
18
README.md
Normal file
18
README.md
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
create
|
||||||
|
/usr/local/sbin/wg1-healthcheck.sh
|
||||||
|
chmod +x /usr/local/sbin/wg1-healthcheck.sh
|
||||||
|
|
||||||
|
create
|
||||||
|
/etc/systemd/system/wg1-healthcheck.service
|
||||||
|
|
||||||
|
and
|
||||||
|
|
||||||
|
/etc/systemd/system/wg1-healthcheck.timer
|
||||||
|
|
||||||
|
systemctl daemon-reload
|
||||||
|
systemctl enable --now wg1-healthcheck.timer
|
||||||
|
|
||||||
|
Alternative via Cron
|
||||||
|
|
||||||
|
* * * * * root /usr/local/sbin/wg1-healthcheck.sh >/dev/null 2>&1
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue