summaryrefslogtreecommitdiff
path: root/social/aiccu/aiccu.rc.d
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-08-27 05:07:26 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-08-27 05:07:26 -0300
commit0ff008e3c9dcc5ef088f481dfff3dcd121575598 (patch)
treed6f6cf5d6939e1f030a48d3711d3606570afd08f /social/aiccu/aiccu.rc.d
parented9d1c12bbfcf9cb8b3d53e886edb679df372640 (diff)
move some packages from [social] to [pcr] and remove unused [social]
Diffstat (limited to 'social/aiccu/aiccu.rc.d')
-rw-r--r--social/aiccu/aiccu.rc.d60
1 files changed, 0 insertions, 60 deletions
diff --git a/social/aiccu/aiccu.rc.d b/social/aiccu/aiccu.rc.d
deleted file mode 100644
index b0ca08fce..000000000
--- a/social/aiccu/aiccu.rc.d
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/bash
-
-daemon_name=aiccu
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-get_pid() {
- pidof $daemon_name
-}
-
-case "$1" in
- start)
- stat_busy "Starting $daemon_name daemon"
-
- PID=`get_pid`
- if [ -z "$PID" ]; then
- [ -f /var/run/$daemon_name.pid ] && rm -f /var/run/$daemon_name.pid
- # RUN
- $daemon_name start > /dev/null
- #
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- else
- echo `get_pid` > /var/run/$daemon_name.pid
- add_daemon $daemon_name
- stat_done
- fi
- else
- stat_fail
- exit 1
- fi
- ;;
-
- stop)
- stat_busy "Stopping $daemon_name daemon"
- PID=`get_pid`
- # RUN
- $daemon_name stop
- #
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- else
- rm -f /var/run/$daemon_name.pid &> /dev/null
- rm_daemon $daemon_name
- stat_done
- fi
- ;;
-
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0