mirror of
https://github.com/unraid/webgui.git
synced 2026-01-06 01:29:54 -06:00
WireGuard: delayed service update to avoid race condition
This commit is contained in:
8
emhttp/plugins/dynamix/scripts/update_services
Normal file
8
emhttp/plugins/dynamix/scripts/update_services
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
job=/tmp/wgjob.tmp
|
||||
reload=/usr/local/emhttp/webGui/scripts/reload_services
|
||||
|
||||
rm -f $job
|
||||
echo "sleep 5;$reload $job"|at -M now 2>/dev/null
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user