diff options
author | Bruno Cichon <ebrasca.ebrasca@openmailbox.org> | 2016-09-12 15:06:57 +0200 |
---|---|---|
committer | Bruno Cichon <ebrasca.ebrasca@openmailbox.org> | 2016-09-12 15:06:57 +0200 |
commit | 3c85e4990d1fa1165f669b01a6c9c310243b66c0 (patch) | |
tree | 3835d307bf3677d9b8a055d28d1a92d80f678fab | |
parent | 10b8cfdf5d3972495ad4d6cd5b037e887316bcab (diff) | |
download | abslibre-3c85e4990d1fa1165f669b01a6c9c310243b66c0.tar.gz abslibre-3c85e4990d1fa1165f669b01a6c9c310243b66c0.tar.bz2 abslibre-3c85e4990d1fa1165f669b01a6c9c310243b66c0.zip |
yacy-openrc: Fix restart
-rw-r--r-- | pcr/yacy-openrc/PKGBUILD | 2 | ||||
-rwxr-xr-x | pcr/yacy-openrc/yacy | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/pcr/yacy-openrc/PKGBUILD b/pcr/yacy-openrc/PKGBUILD index d01fd9390..9258acd37 100644 --- a/pcr/yacy-openrc/PKGBUILD +++ b/pcr/yacy-openrc/PKGBUILD @@ -11,7 +11,7 @@ depends=('openrc' 'yacy') backup=('etc/init.d/yacy') install=yacy.install source=('yacy') -md5sums=('a65f7ac5a9e01cb8469eec2eb56e3af0') +md5sums=('98c064c816a9a05a324666e2aecd01bd') package() { install -dm755 $pkgdir/etc/init.d 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 $? } |