Override job status

Daniel L. Miller dmiller at amfes.com
Wed Jun 23 05:50:48 BST 2010


I've been trying to tweak an upstart job script for ASSP - which is a 
perl script that has an option for forking.  Standard operation had no 
problems - but it was during the fork testing I ran into an issue.

I used "expect fork" along with "respawn" - and I'm not certain what I 
did, but I wound up with multiple instances - upstart kept starting new 
ones.  I issued a stop, and then manually killed all the instances.  But 
now "status assp" shows "start/killed", with an invalid process id.  And 
attempt to start results in "Job already running" - though it is not.

Is there any way I can tell upstart this job is in fact stopped - so I 
can start it again?  Running 0.6.3.

-- 
Daniel




More information about the upstart-devel mailing list