From 3c85e4990d1fa1165f669b01a6c9c310243b66c0 Mon Sep 17 00:00:00 2001 From: Bruno Cichon Date: Mon, 12 Sep 2016 15:06:57 +0200 Subject: yacy-openrc: Fix restart --- pcr/yacy-openrc/yacy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pcr/yacy-openrc/yacy') diff --git a/pcr/yacy-openrc/yacy b/pcr/yacy-openrc/yacy index 1f5d125fd..e70ea720a 100755 --- a/pcr/yacy-openrc/yacy +++ b/pcr/yacy-openrc/yacy @@ -21,10 +21,9 @@ stop() { eend $? } -reload() { +restart() { ebegin "Reloading Yacy." start-stop-daemon --stop --pidfile "${PIDFILE}" --quiet --exec /opt/yacy/yacy stop start-stop-daemon --background --user "${User}" --start --pidfile "${PIDFILE}" --quiet --exec /opt/yacy/yacy start - #/opt/yacy/yacy restart eend $? } -- cgit v1.2.3-2-g168b