Hi all!<div><br></div><div>I am trying to write custom service that runs ruby script. Everything is seems to be ok except condition/event which triggers actual start</div><div><br></div><div>I use following condition:</div>

<div><br></div><div>start on started apache2</div><div><br></div><div>When I run  check-config it says following:</div><div><br></div><div><div>root@vv-Latitude-E5520:/etc/init# initctl check-config http-log-monitor </div>

<div>http-log-monitor</div><div>  start on: unknown job apache2</div><div>  stop on: unknown job apache2</div><div>root@vv-Latitude-E5520:/etc/init# </div><div><br></div><div>However when I run </div><div><br></div><div>
initctl emit started JOB=apache2</div>
<div><br></div><div>my service successfully starts.</div><div><br></div><div>What I am trying to achieve is to get my service running after system started.</div><div><br></div><div>I am using xubuntu 11.10</div><div><br>
</div>
<div>Thanks in advance</div><div><br></div><div><br></div>-- <br>Vasyl<br>
</div>