summaryrefslogtreecommitdiff
path: root/pcr/yacy-openrc/yacy
diff options
context:
space:
mode:
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 $?
}