From 09ce0508afe6568cf580f53fb9952963125fff43 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 3 Feb 2010 07:41:11 +0000 Subject: Revert "testing/*: remove from stable branch" This reverts commit 9ad548df8aa2a860ca311453ed3d6a98962f32f5. I'll delete them one by one. --- testing/freeswitch/freeswitch.initd | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 testing/freeswitch/freeswitch.initd (limited to 'testing/freeswitch/freeswitch.initd') diff --git a/testing/freeswitch/freeswitch.initd b/testing/freeswitch/freeswitch.initd new file mode 100644 index 00000000..34f44139 --- /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 + } -- cgit v1.2.3