forked from mirrors/nixpkgs
fixed a upstart issue where upsd was never started
svn path=/nixos/trunk/; revision=33494
This commit is contained in:
parent
f4883572d8
commit
bc6ca7944f
|
@ -191,7 +191,7 @@ in
|
|||
|
||||
jobs.upsd = {
|
||||
description = "Uninterruptible Power Supplies (Daemon)";
|
||||
startOn = "started network-interfaces and upsmon";
|
||||
startOn = "started network-interfaces and started upsmon";
|
||||
daemonType = "fork";
|
||||
# TODO: replace 'root' by another username.
|
||||
exec = ''${pkgs.nut}/sbin/upsd -u root'';
|
||||
|
|
Loading…
Reference in a new issue