/srv/irclogs.ubuntu.com/2012/03/31/#upstart.txt

qknight--hi11:29
qknight--      startOn = "started network-interfaces and started upsmon";11:29
qknight--compared to 11:29
qknight--      startOn = "started network-interfaces and upsmon";11:29
qknight--what would be correct?11:29
qknight--network-interfaces and upsmon are upstart targets (but on nixos)11:29
qknight--when i put in the first line it starts both services (upsd, when network-interfaces and upsmon were started)11:30
qknight--but the latter case upsd was not started11:30
JanCqknight: does NixOS use a tool to create upstart jobs?  or where dus that "startOn = ..." come from?14:48
JanCs/dus/does/14:48
JanCanyway, in the first case the two events separated by "and" are "started network-interfaces" and "started upsmon", in the second case the events are "started network-interfaces" and "upsmon"14:51
JanCand if there isn't anything issuing an explicit "upsmon" event (e.g. from a script), it's unlikely that that start condition will ever happen14:52

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