nixpkgs/modules/system
Eelco Dolstra b606165bd9 Allow a unit to declare "triggers" that force a restart
The triggers are just arbitrary strings that are included in the unit
under X-Restart-Triggers.  The idea is that if they change between
reconfigurations, switch-to-configuration will restart the unit
because its store path changed.  This is mostly useful for services
that implicitly depend on generated files in /etc.  Thus you can say

  restartTriggers = [ confFile ];

where ‘confFile’ is the derivation that generated the /etc file in
question.
2012-10-11 17:54:43 -04:00
..
activation Use config.system.build.systemd in the toplevel derivation 2012-10-10 16:49:59 -04:00
boot Allow a unit to declare "triggers" that force a restart 2012-10-11 17:54:43 -04:00
etc Lowercase debug output 2012-10-04 21:44:45 -04:00
upstart Move non-interface specific initialisation to ‘network-setup.service’ 2012-10-11 16:18:48 -04:00