[ubuntu-uk] Init Script fun
Alan Lord (News)
alanslists at gmail.com
Tue Jun 29 20:20:52 BST 2010
On 29/06/10 20:08, Rob Beard wrote:
> Now running one of these streams is fine, it starts fine and goes into
> the background. If I run a second stream (basically start the next
> init.d script) it will start to run the script but then come up with an
> error about it already running.
PIDs.
The start-stop-daemon should create a pid file so that it knows which
app to kill. These are usually stored in /var/run/
I'm guessing that you will need to create different PIDs for each
instance that you are trying to run. Try
# man start-stop-daemon
and take a look at the options.
HTH
Al
--
The Open Learning Centre
http://www.theopenlearningcentre.com
More information about the ubuntu-uk
mailing list