diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-09-27 19:54:50 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-09-27 19:54:50 -0500 |
commit | 258ad199bcd502438f5fdc057c0d0788aa19ff84 (patch) | |
tree | 68ea916e8ed99b6c23c05b0c40c8f65385ecd9d5 /pcr/yacy-openrc/yacy | |
parent | e8d1a92e2fd63c5c24df5ad08907b1cd4976f1dc (diff) | |
download | abslibre-258ad199bcd502438f5fdc057c0d0788aa19ff84.tar.gz abslibre-258ad199bcd502438f5fdc057c0d0788aa19ff84.tar.bz2 abslibre-258ad199bcd502438f5fdc057c0d0788aa19ff84.zip |
Removing yacy-openrc
Diffstat (limited to 'pcr/yacy-openrc/yacy')
-rwxr-xr-x | pcr/yacy-openrc/yacy | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/pcr/yacy-openrc/yacy b/pcr/yacy-openrc/yacy deleted file mode 100755 index e70ea720a..000000000 --- a/pcr/yacy-openrc/yacy +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/openrc-run - -PIDFile=/opt/yacy/.yacy/yacy.pid -User=yacy - -description="YaCy P2P Web Search" - -depend() { - need net -} - -start() { - ebegin "Starting Yacy" - start-stop-daemon --background --user "${User}" --start --pidfile "${PIDFILE}" --quiet --exec /opt/yacy/yacy start - eend $? -} - -stop() { - ebegin "Stopping Yacy" - start-stop-daemon --stop --pidfile "${PIDFILE}" --quiet --exec /opt/yacy/yacy stop - eend $? -} - -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 - eend $? -} |