diff options
Diffstat (limited to 'pcr/yacy-openrc/yacy')
-rwxr-xr-x | pcr/yacy-openrc/yacy | 3 |
1 files changed, 1 insertions, 2 deletions
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 $? } |