summaryrefslogtreecommitdiffstats
path: root/testing/freeswitch/freeswitch.initd
blob: 34f441390697026ed07f93205f8ff7a3b018b68e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
	}