/srv/irclogs.ubuntu.com/2021/05/12/#upstart.txt

wvkGood day, fellow Upstart users23:22
wvkI have an upstart job with a complex set of starting requirements23:22
wvkbut it's not quite working the way I'd hoped23:23
wvkSay I have a job, JOB-A, that depends on JOB-B (which starts once at boot up) and JOB-C (which starts every time the login screen is shown)23:24
wvkSo, I use the following stanza:23:24
wvk    start on (started JOB-B and started JOB-C)23:25
wvk    stop on stopping JOB-C23:25
wvkThe issue is that, JOB-A only starts once, after boot (JOB-B) and the first time the login screen (JOB-C) is shown23:25
wvkI want it to restart every time JOB-C restarts23:26
wvkso I tried:23:26
wvk    start on (started JOB-B and started JOB-C) or (stopped JOB-B and started JOB-B)23:27
wvk   oops, I meant23:27
wvk    start on (started JOB-B and started JOB-C) or (stopped JOB-C and started JOB-C)23:27
wvkbut this doesn't seem to work either23:28
wvkwhen i do "restart JOB-C", JOB-A stops but does not start again23:28
wvkDo any of y'all have a suggestion on how to fix this?23:28

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!