# ices -c '/usr/local/etc/ices.conf' -D '/media/music/' -F '/media/music/album1/playlist.txt' -m 'sample1' -u 'http://siava.ru:8000/sample1' -d 'sample1 descr' -n 'blablabla1' -g 'test1' -b 192 -B # ices -c '/usr/local/etc/ices.conf' -D '/media/music/' -F '/media/music/album2/playlist.txt' -m 'sample2' -u 'http://siava.ru:8000/sample2' -d 'sample2 descr' -n 'blablabla2' -g 'test2' -b 160 -B
. "/etc/rc.subr" name="ices0" rcvar=`set_rcvar` command="/usr/local/bin/$name" command_args="1>/dev/null 2>&1 -m 'listen96' -g 'test2' -b 96 -B" required_files="/usr/local/etc/ices.conf" # read configuration and set defaults load_rc_config "$name" : ${ices0_enable="YES"} run_rc_command "$1"
. "/etc/rc.subr" name="ices0" rcvar=`set_rcvar` command="/usr/local/bin/$name" command_args="1>/dev/null 2>&1 -m 'listen64' -g 'test2' -b 64 -B" required_files="/usr/local/etc/ices.conf" # read configuration and set defaults load_rc_config "$name" : ${ices0_enable="YES"} run_rc_command "$1"
#! /bin/bash ### BEGIN INIT INFO # Provides: sc_trans # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start daemon at boot time # Description: Enable service provided by daemon. ### END INIT INFO case "$1" in start) /var/www/sc/sc_trans/sc_trans daemon /var/www/sc/sc_trans/sc_trans.conf & ;; esac exit 0