Re: [PATCH] Init Startup Scripts for Icecast

Christoph Zimmermann <[email protected]>
Newsgroups gmane.comp.audio.icecast.devel
Message-ID <20120218181912.21d9c989@flashpad>
Hi Claudius
 
> In order to automatically start icecast at system boot, I created a 
> startup script for icecast (adapted from /etc/init.d/openssh).

> I hope that helps. I think it might be useful. The code has been
> tested on RHEL 5. Maybe someone could put that file in a contrib
> directory. (or adapt the Makefile to automatically place the init

I don't know the directory structure in /etc for RHEL but a you can
also use the init script from the debian package as a reference. 

As in your solution there are two files, firs the init script and
second the defaults file containing also the user and group to run
icecast with a different user than root.

the two files are visible for example in the debian package diff file
(against the original source):
http://ftp.de.debian.org/debian/pool/main/i/icecast2/icecast2_2.3.2-6.diff.gz

in my opinion it is a good idea to write to a redhat package maintainer
too, so your script gets included in the rpm.

---
nuess0r
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.