mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
radicale: fixed hotplug and init script
* fixed hotplug script (not restarting on "ifup") * fixed init script (not stopping in 1 second) * fixed PKG_MAINTAINER string * removing not needed comments in config file Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
This commit is contained in:
@@ -208,7 +208,7 @@ stop() {
|
||||
local _PID=$(eval "$PGREP")
|
||||
[ -z "$_PID" ] && return 0 # not running
|
||||
kill -15 $_PID 2>/dev/null
|
||||
sleep 1 # give time to shutdown
|
||||
sleep 3 # give time to shutdown
|
||||
local _tmp=$(eval "$PGREP")
|
||||
if [ -z "$_tmp" ]; then
|
||||
logger -p user.notice -t "radicale[$_PID]" "Service shutdown successfully"
|
||||
|
||||
Reference in New Issue
Block a user