View unanswered posts | View active topics
|
Page 1 of 1
|
[ 4 posts ] |
|
| Author |
Message |
|
Foz
|
Post subject: Linux Service Posted: Tue Jan 10, 2012 9:32 pm |
|
Joined: Tue Nov 13, 2007 12:42 pm Posts: 1307 Location: Manchester, UK
|
|
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?
|
|
| Top |
|
 |
|
remi_meier
|
Post subject: Re: Linux Service Posted: Wed Jan 11, 2012 11:48 am |
|
 |
| Enthusiast |
 |
Joined: Sat Dec 20, 2003 6:19 pm Posts: 467 Location: Switzerland
|
|
| Top |
|
 |
|
Foz
|
Post subject: Re: Linux Service Posted: Wed Jan 11, 2012 3:51 pm |
|
Joined: Tue Nov 13, 2007 12:42 pm Posts: 1307 Location: Manchester, UK
|
|
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!
|
|
| Top |
|
 |
|
auser
|
Post subject: Re: Linux Service Posted: Wed Jan 11, 2012 4:36 pm |
|
 |
| Enthusiast |
 |
Joined: Wed Sep 06, 2006 6:59 am Posts: 151
|
|
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
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: Majestic-12 [Bot] and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum
|