summaryrefslogtreecommitdiff
path: root/pcr/yacy-openrc/yacy
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-09-12 23:58:48 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-09-12 23:58:48 -0300
commitc0e0d3168de9d7bdddb119a4c30d181b475500e0 (patch)
tree8ad5f0b4262ff603b1d3b1801717273099a69311 /pcr/yacy-openrc/yacy
parentff12ef459aecd54816d3ba73171d84d7f5325596 (diff)
parent3c85e4990d1fa1165f669b01a6c9c310243b66c0 (diff)
Merge branch 'master' of ssh://git.parabola.nu/~git/abslibre
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 $?
}