Changeset 3192:ef97ba3d14a7 in roaraudio
- Timestamp:
- 01/22/10 23:38:11 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dist/debian-like/roaraudio
r3053 r3192 1 1 #!/bin/sh 2 3 # roaraudio initscript 2 4 # 5 # Copyright (c) 2008-2010 Philipp 'ph3-der-loewe' Schafft <lion@lion.leolix.org> 6 # Copyright (c) 2007 Javier Fernandez-Sanguino <jfs@debian.org> 7 # 8 # This is free software; you may redistribute it and/or modify 9 # it under the terms of the GNU General Public License as 10 # published by the Free Software Foundation; either version 3, 11 # or (at your option) any later version. 12 # 13 # This is distributed in the hope that it will be useful, but 14 # WITHOUT ANY WARRANTY; without even the implied warranty of 15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 # GNU General Public License for more details. 17 # 18 # You should have received a copy of the GNU General Public License with 19 # the Debian operating system, in /usr/share/common-licenses/GPL; if 20 # not, write to the Free Software Foundation, Inc., 59 Temple Place, 21 # Suite 330, Boston, MA 02111-1307 USA 22 # 23 ### BEGIN INIT INFO 24 # Provides: roaraudio 25 # Required-Start: $network $local_fs 26 # Required-Stop: 27 # Should-Start: 28 # Should-Stop: 29 # Default-Start: 2 3 4 5 30 # Default-Stop: 0 1 6 31 # Short-Description: sound server for audio mixing 32 # Description: RoarAudio is a server for audio mixing. Its main purpose is to mix audio from 33 # different clients before sending it to its outputs (for example a soundcard). 34 # It is completely network transparent (UNIX sockets, TCP/IP, DECnet) and 35 # supports many common codecs like Ogg Vorbis, Speex or FLAC. 36 ### END INIT INFO 37 3 38 set -e 4 39 … … 108 143 echo "." 109 144 ;; 110 restart )145 restart|force-reload) 111 146 echo -n "Restarting $DESC: $NAME" 112 147 $DAEMON --restart $ROARD_OPTS … … 114 149 ;; 115 150 *) 116 echo "Usage: $SCRIPTNAME {start|stop|restart }" >&2151 echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 117 152 exit 1 118 153 ;;
Note: See TracChangeset
for help on using the changeset viewer.