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 = {
|
jobs.upsd = {
|
||||||
description = "Uninterruptible Power Supplies (Daemon)";
|
description = "Uninterruptible Power Supplies (Daemon)";
|
||||||
startOn = "started network-interfaces and upsmon";
|
startOn = "started network-interfaces and started upsmon";
|
||||||
daemonType = "fork";
|
daemonType = "fork";
|
||||||
# TODO: replace 'root' by another username.
|
# TODO: replace 'root' by another username.
|
||||||
exec = ''${pkgs.nut}/sbin/upsd -u root'';
|
exec = ''${pkgs.nut}/sbin/upsd -u root'';
|
||||||
|
|
Loading…
Reference in New Issue