mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
[Radicale] upstream to Radicale 1.1
* upstream to Radicale 1.1 * new "boot_delay" option (default 10 seconds) to wait for interfaces to come up before hotplug restarts are enabled. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
# only (re-)start on ifup
|
||||
[ "$ACTION" = "ifup" ] || exit 0
|
||||
# only start if boot_delay is done
|
||||
[ -f /tmp/radicale.hotplug ] || exit 0
|
||||
|
||||
_PID=$(ps | grep '[p]ython.*[r]adicale' 2>/dev/null | awk '{print $1}')
|
||||
kill -1 $_PID 2>/dev/null
|
||||
|
||||
Reference in New Issue
Block a user