nixpkgs-suyu/nixos/modules
Oliver Charles 0d18d39e98 switch-to-configuration.pl: Handle successful auto-restarts
switch-to-configuration.pl is currently hard-coded to assume that if a
unit is in the "auto-restart" state that something has gone wrong, but
this is not strictly true. For example, I run offlineimap as a oneshot
service restarting itself every minute (on success). NixOS currently
thinks that offlineimap has failed to start as it enters the
auto-restart state, because it doesn't consider why the unit failed.

This commit changes switch-to-configuration.pl to inspect the full
status of a unit in auto-restart state, and now only considers it failed
if the ExecMainStatus is non-zero.
2014-02-02 15:56:22 +01:00
..
config Don't set $TZ 2014-01-06 18:27:07 +01:00
hardware Add some primops to lib 2013-11-12 13:48:30 +01:00
installer nixos-generate-config: Fix reference to <nixos>. 2014-01-29 13:23:30 +01:00
misc nixos/cgminer: fix restarts, set uid 2014-01-13 00:19:06 +01:00
profiles Hack to work around the lack of isPath 2013-10-28 22:45:57 +01:00
programs nixos: capitalize a bunch of service descriptions 2013-11-09 20:45:50 +01:00
security polkit: Add some examples 2013-11-18 18:04:17 +01:00
services Merge #1645 and #1646: lightdm and -gtk-greeter update 2014-02-02 15:51:35 +01:00
system switch-to-configuration.pl: Handle successful auto-restarts 2014-02-02 15:56:22 +01:00
tasks network-interfaces: Add the ability to create bond devices 2013-12-31 09:28:52 -06:00
testing Rename linuxManualConfig to buildLinux 2014-01-21 20:05:55 -05:00
virtualisation Google Compute image: fix punctuation in description, give disk image proper name with version and revision. 2013-12-12 12:48:09 +01:00
module-list.nix nixos: Add a dictd service. 2014-01-25 16:35:02 +01:00
rename.nix nixos: Split mesa setup from xserver.nix 2014-01-15 08:17:19 -05:00