| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Sat Dec 03, 2005 1:47 pm Post subject: restart server |
|
|
| How can I restart server in a command-line? |
|
| Back to top |
|
 |
EvilOverlord Forum Admin


Joined: 12 Jun 2005 Posts: 177 Location: Isle of Man
|
Posted: Mon Dec 12, 2005 9:48 pm Post subject: |
|
|
Well if you want icecast to re-read its config file, send it a hangup signal.
| Code: |
| kill -HUP pidof icecast |
If you just want to stop it, use "Ctrl-C" in the console window you started it from. If that doesn't work:
|
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Wed Dec 14, 2005 1:57 pm Post subject: |
|
|
Here are some questions:
1) Does relaying server need a soundcard?
2) I want icecast to read different config file's in different time? how can i do it?
Thanks. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Dec 14, 2005 3:40 pm Post subject: |
|
|
1. icecast doesn't use a soundcard at all, whether relaying or not.
2. you can copy the xml files before sending HUP and many changes will apply, the main thing that doesn't change currently is the ports that icecast listens on.
karl. |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Dec 14, 2005 8:04 pm Post subject: |
|
|
I'm attempting to stop or restart my icecast2 server (which is running). When trying either:
kill pidof icecast2
or
kill -HUP pidof icecast2
this is what I get:
-bash: kill: pidof: arguments must be process or job IDs
-bash: kill: icecast2: arguments must be process or job IDs
I'm a newbie to Linux and am not sure what these messages mean or what to do about them. Any help appreciated, thanks.
Mark |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Dec 14, 2005 10:43 pm Post subject: |
|
|
you can use
killall -HUP icecast
or if you are using the kill command then if needs the pids of the processes, which can be obtained via commands like ps or pidof
for instance
kill -HUP `pidof icecast`
pidof will run and return the pid number for kill to work on.
karl. |
|
| Back to top |
|
 |
|