Linux Service

Linux specific forum
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

Linux Service

Post by Foz »

I know that PBOSL has the NT Service utilities, but Linux seems to be left out.

Has anyone created a Linux Service with the start, stop and restart commands?

Or can anyone point me in the right direction where I should be looking?
remi_meier
Enthusiast
Enthusiast
Posts: 468
Joined: Sat Dec 20, 2003 6:19 pm
Location: Switzerland

Re: Linux Service

Post by remi_meier »

You mean controlling a PB program through an init-script?
This might help you: http://www.novell.com/coolsolutions/feature/15380.html
Athlon64 3700+, 1024MB Ram, Radeon X1600
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

Re: Linux Service

Post by Foz »

Hmmm very interesting - this may be what I'm after - I was bashing my head against the C fork() process before I gave up last night!

Thanks!
auser
Enthusiast
Enthusiast
Posts: 195
Joined: Wed Sep 06, 2006 6:59 am

Re: Linux Service

Post by auser »

I would suggest creating a bash-script and use "start-stop-daemon" there for pushing the binary in the background (so you can even choose easy a user/group that should run it afterwards).

Greetings,
auser
Post Reply