I recently installed Icecast2 onto my CentOS 4 rig (And let me tell ya it was a bitch, there were tons of missing dependencies). I found from searching the knowledge base a way to add icecast to the service monitor in Direct Admin.
You simple go to the "/usr/local/directadmin/data/admin/" directory and edit the "services.status" file, adding the a line for icecast or whatever the name of your service of choice is along the same lines as the others in the file (More Info).
However I have hit a snafu. Starting the icecast service requires a special command in SSH, basically you have to tell it to load your configuration file. Here's an example of the command I call in SSH to start up icecast.
So obviously if you try to start/restart icecast from DA it'll fail to execute. I was hoping there was some way to adjust how DA tries to start icecast, but I haven't been able to find any documentation to that effect.
Anyone know on this?
You simple go to the "/usr/local/directadmin/data/admin/" directory and edit the "services.status" file, adding the a line for icecast or whatever the name of your service of choice is along the same lines as the others in the file (More Info).
However I have hit a snafu. Starting the icecast service requires a special command in SSH, basically you have to tell it to load your configuration file. Here's an example of the command I call in SSH to start up icecast.
Code:
icecast -b -c /etc/icecast.xml
So obviously if you try to start/restart icecast from DA it'll fail to execute. I was hoping there was some way to adjust how DA tries to start icecast, but I haven't been able to find any documentation to that effect.
Anyone know on this?