diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-27 06:05:47 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-27 06:05:47 -0300 |
commit | d73f07b0acf8bae623e1e112a7cb3744a84a92ee (patch) | |
tree | 87a2b353ea5229bbe309ea9db9d43bf24e2a6fd8 /social/seeks/seeksdaemon | |
parent | c001329b017288676a28aa6078bf16ad42e318e9 (diff) | |
parent | 0ff008e3c9dcc5ef088f481dfff3dcd121575598 (diff) | |
download | abslibre-d73f07b0acf8bae623e1e112a7cb3744a84a92ee.tar.gz abslibre-d73f07b0acf8bae623e1e112a7cb3744a84a92ee.tar.bz2 abslibre-d73f07b0acf8bae623e1e112a7cb3744a84a92ee.zip |
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'social/seeks/seeksdaemon')
-rw-r--r-- | social/seeks/seeksdaemon | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/social/seeks/seeksdaemon b/social/seeks/seeksdaemon deleted file mode 100644 index 551197d28..000000000 --- a/social/seeks/seeksdaemon +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions -. /etc/conf.d/seeks - -PID=`pidof -o %PPID /usr/bin/seeks` - -case "$1" in - start) - stat_busy "Starting seeks daemon" - [ -z "$PID" ] && /usr/bin/seeks $SEEKS_ARGS - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon seeks - stat_done - fi - ;; - - stop) - stat_busy "Stopping seeks daemon" - [ ! -z "$PID" ] && kill $PID &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon seeks - stat_done - fi - ;; - restart) - $0 stop - while [ ! -z "$PID" -a -d "/proc/$PID" ]; do sleep 1; done - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" - -esac -exit 0 - |