apache as dependency

Vasyl Zuzyak zvasylvv at gmail.com
Wed Oct 26 11:34:32 UTC 2011


Hi all!

I am trying to write custom service that runs ruby script. Everything is
seems to be ok except condition/event which triggers actual start

I use following condition:

start on started apache2

When I run  check-config it says following:

root at vv-Latitude-E5520:/etc/init# initctl check-config http-log-monitor
http-log-monitor
  start on: unknown job apache2
  stop on: unknown job apache2
root at vv-Latitude-E5520:/etc/init#

However when I run

initctl emit started JOB=apache2

my service successfully starts.

What I am trying to achieve is to get my service running after system
started.

I am using xubuntu 11.10

Thanks in advance


-- 
Vasyl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/upstart-devel/attachments/20111026/317241b5/attachment.html>


More information about the upstart-devel mailing list