diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-02-03 07:41:11 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-02-03 07:41:11 +0000 |
commit | 09ce0508afe6568cf580f53fb9952963125fff43 (patch) | |
tree | be336c26f16f7fd1e5c5454738c9332da34fb2d1 /testing/freeswitch/freeswitch.initd | |
parent | 9ad548df8aa2a860ca311453ed3d6a98962f32f5 (diff) | |
download | aports-09ce0508afe6568cf580f53fb9952963125fff43.tar.bz2 aports-09ce0508afe6568cf580f53fb9952963125fff43.tar.xz |
Revert "testing/*: remove from stable branch"
This reverts commit 9ad548df8aa2a860ca311453ed3d6a98962f32f5.
I'll delete them one by one.
Diffstat (limited to 'testing/freeswitch/freeswitch.initd')
-rw-r--r-- | testing/freeswitch/freeswitch.initd | 19 |
1 files changed, 19 insertions, 0 deletions
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 + } |