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:
Christian Schoenebeck
2015-05-24 21:34:34 +02:00
parent d8362b6d04
commit 65fb23d515
4 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
# only (re-)start on ifup
[ "$ACTION" = "ifup" ] || exit 0
_PID=$(ps | grep '[p]ython.*[r]adicale' 2>/dev/null | awk '{print \$1}')
_PID=$(ps | grep '[p]ython.*[r]adicale' 2>/dev/null | awk '{print $1}')
kill -1 $_PID 2>/dev/null
if [ $? -eq 0 ]; then
# only restart if already running