summaryrefslogtreecommitdiff
path: root/pcr/yacy-openrc/yacy
diff options
context:
space:
mode:
authorBruno Cichon <ebrasca.ebrasca@openmailbox.org>2016-09-12 15:06:57 +0200
committerBruno Cichon <ebrasca.ebrasca@openmailbox.org>2016-09-12 15:06:57 +0200
commit3c85e4990d1fa1165f669b01a6c9c310243b66c0 (patch)
tree3835d307bf3677d9b8a055d28d1a92d80f678fab /pcr/yacy-openrc/yacy
parent10b8cfdf5d3972495ad4d6cd5b037e887316bcab (diff)
downloadabslibre-3c85e4990d1fa1165f669b01a6c9c310243b66c0.tar.gz
abslibre-3c85e4990d1fa1165f669b01a6c9c310243b66c0.tar.bz2
abslibre-3c85e4990d1fa1165f669b01a6c9c310243b66c0.zip
yacy-openrc: Fix restart
Diffstat (limited to 'pcr/yacy-openrc/yacy')
-rwxr-xr-xpcr/yacy-openrc/yacy3
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 $?
}