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