|
|
|
|
#1 |
|
Junior Member
Join Date: Oct 2005
Posts: 4
|
Keep sctrans running when I shut the ssh window
OK guys, hoping someone can help me.
I have a shoutcast server running with no problem, and I can also set sc_trans_linux running using the command ./sc_trans_linux .... I understand this but I`m afraid this is as far as my knowledge lyes. The problem I have is that although when I set sc_Serv of running from the ssh window, it keeps running once I close the window and shutdown my comp here at home. sc_trans however terminates the second I close the ssh window. Question is how do I keep this running? |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Mar 2002
Location: g
Posts: 1,603
|
ut a & after the command to send it to the background. If that doesn't work try additionally putting nohup before the command.
BB 192k Mp3 HIGH DEFINITION | BB 24k Mp3 | BB 20k WMA | BB Community __________________________ My Host - Fast-Serv.com | Free Shoutcast Hosting - Coming Soon... |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Nov 2005
Posts: 9
|
hey dude,
can you please post if any of those options worked? which one did you use that worked? what flavor of linux / unix are you using? its appreciated. -=/charlie/=- |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Nov 2005
Location: California
Posts: 9
|
i use fedora core 4 and when i execute ./sc_serv & and it runs in the background.
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Nov 2005
Posts: 9
|
yea i use that command too and it works.
but what about for sc_trans_linux? btw, i run slackware 10.2 for anyone who is in the need to know. |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Nov 2005
Location: California
Posts: 9
|
i believe it is the same thing. i use the sc_serv
btw. what is the difference between sc_serv and sc_linux_trans? |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Nov 2005
Posts: 9
|
sc_serv is your shoutcast server.
sc_trans_linux is a winamp plugin?? it allows winamp to get the music off your box. I'm pretty sure. I just now I needed it to make my server work. Which it does. But i just cant get this window to close without killing my server. just like the guy who started this post. |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Nov 2005
Posts: 9
|
okay, i dont know what i was doing wrong or why it wasnt working. but i just tried it again.
./sc_trans_linux & once it was done loading. i hit ctrl c and it kept working. so for anyone else, there you have it. -=/charlie=-/ the idiot |
|
|
|
|
|
#9 |
|
Junior Member
|
many ways to do this...
./sc_trans_linux config & (note, your console will flood with the stdout, so u can filter it out by redirection. ie: ./sc_trans_linux config >/dev/null 2>&1 thus you'll return to the console and it would still be running. to kill it, killall -9 sc_trans_linux note: if u exit the console/ssh, the process might get killed as your main process has exited.. else if you have screen, screen the process and CTRL-A, D this is only useful if you want to see the standard output, etc.. blah.. (man screen or else install screen first then man screen) or else setup a cron to start it when you need to and set another cron to killall -9 it when u need to ![]()
|
|
|
|
|
|
#10 |
|
Major Dude
Join Date: Sep 2004
Posts: 754
|
./sc_trans_linux config >/dev/null 2>&1 &
|
|
|
|
|
|
#11 |
|
Junior Member
|
whoops :P forgot the & :P
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|