6 PID
=`pidof -o %PPID /usr/bin/linux_mtp_streaming_server`
9 stat_busy
"Starting Dovecot"
10 # modify "-i /srv/http/linux_mtpcenter_2.0" path for you local setup; -d -D for debug logging
11 [ -z "$PID" ] && /usr
/bin
/linux_mtp_streaming_server
-d -P /var
/run \
12 -p /etc
/linux-mtp-streaming-server
-i /srv
/http
/linux_mtpcenter_2.0
-l /srv
/http
/linux_mtpcenter_2.0
/temp
/> /dev
/null
16 add_daemon linux_mtp_streaming_server
21 stat_busy
"Stopping Dovecot"
22 [ ! -z "$PID" ] && kill $PID &> /dev
/null
26 rm_daemon linux_mtp_streaming_server
36 echo "usage: $0 {start|stop|restart}"