aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kamailio/kamailio.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/kamailio/kamailio.initd')
-rw-r--r--testing/kamailio/kamailio.initd26
1 files changed, 0 insertions, 26 deletions
diff --git a/testing/kamailio/kamailio.initd b/testing/kamailio/kamailio.initd
deleted file mode 100644
index ee4e2ecef1..0000000000
--- a/testing/kamailio/kamailio.initd
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/runscript
-
-daemon=/usr/sbin/kamailio
-pidfile=/var/run/kamailio/kamailio.pid
-
-depend() {
- need net
- after firewall
-}
-
-start() {
- ebegin "Starting Kamailio"
- start-stop-daemon --start --quiet --pidfile $pidfile --exec $daemon \
- -- \
- -u ${KAMAILIO_USER:-kamailio} \
- -g ${KAMAILIO_GROUP:-kamailio} \
- -P $pidfile \
- ${KAMAILIO_OPTS:-}
- eend $?
-}
-
-stop() {
- ebegin "Stopping Kamailio"
- start-stop-daemon --stop --quiet --pidfile $pidfile
- eend $?
-}