aboutsummaryrefslogtreecommitdiffstats
path: root/testing/freeswitch/freeswitch.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/freeswitch/freeswitch.initd')
-rwxr-xr-xtesting/freeswitch/freeswitch.initd33
1 files changed, 0 insertions, 33 deletions
diff --git a/testing/freeswitch/freeswitch.initd b/testing/freeswitch/freeswitch.initd
deleted file mode 100755
index 84381d7711..0000000000
--- a/testing/freeswitch/freeswitch.initd
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/runscript
-# Copyright 2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: $
-
-depend() {
- need net
-}
-
-start() {
- local OPTS
-
- [ -n "${FREESWITCH_USER}" ] && \
- OPTS="${OPTS} -u ${FREESWITCH_USER}"
-
- [ -n "${FREESWITCH_GROUP}" ] && \
- OPTS="${OPTS} -g ${FREESWITCH_GROUP}"
-
- [ -n "${FREESWITCH_OPTS}" ] && \
- OPTS="${OPTS} ${FREESWITCH_OPTS}"
-
- ebegin "Starting Freeswitch"
- start-stop-daemon --start --quiet --exec /usr/bin/freeswitch \
- --pidfile /var/run/freeswitch.pid -- -nc ${OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping Freeswitch"
- start-stop-daemon --stop --quiet --pidfile /var/run/freeswitch.pid
- eend $?
-}
-