summaryrefslogtreecommitdiffstats
path: root/testing/freeswitch/freeswitch.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-02 08:58:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-02 08:58:31 +0000
commit7f4b6f87039a8d6a59ee2a7dd614d2410d519530 (patch)
treeb760062600941cc69d70dcf59d5b580561e6d62d /testing/freeswitch/freeswitch.initd
parent1b6a10374fbd4e77b065b66c5e0890111468bd1a (diff)
downloadaports-7f4b6f87039a8d6a59ee2a7dd614d2410d519530.tar.bz2
aports-7f4b6f87039a8d6a59ee2a7dd614d2410d519530.tar.xz
testing/freeswitch: moved from unstable
fixes #257
Diffstat (limited to 'testing/freeswitch/freeswitch.initd')
-rw-r--r--testing/freeswitch/freeswitch.initd19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/freeswitch/freeswitch.initd b/testing/freeswitch/freeswitch.initd
new file mode 100644
index 000000000..34f441390
--- /dev/null
+++ b/testing/freeswitch/freeswitch.initd
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+
+NAME=freeswitch
+USER=freeswitch
+DAEMON=/usr/bin/freeswitch
+OPTIONS_START="-u $USER -g $GROUP -nc"
+OPTIONS_STOP="-stop"
+
+start() {
+ ebegin "Starting $NAME"
+ $DAEMON $OPTIONS_START
+ eend 0
+ }
+
+stop() {
+ ebegin "Stopping $NAME"
+ $DAEMON $OPTIONS_STOP
+ eend 0
+ }