nixpkgs/nixos
Bjørn Forsman 00dfa5b4e5 nixos/systemd: disable timer units with service
A disabled systemd service with a "startAt" attribute, like this:

  systemd.services.foo-service = {
    enable = false;
    startAt = "*-*-* 05:15:00";
    ...
  };

will cause the following errors in the system journal:

  systemd[1]: foo-service.timer: Refusing to start, unit to trigger not loaded.
  systemd[1]: Failed to start foo-service.timer.

Fix it by not generating the corresponding timer unit when the service
is disabled.

(cherry picked from commit 2eb8aab42c)
2016-07-16 09:41:52 +02:00
..
doc/manual releasenotes: fix opengl.extraPackages option name 2016-05-21 16:35:31 +02:00
lib test-driver: Fix "unit X is inactive and there are no pending jobs" 2016-05-24 20:01:52 +01:00
maintainers Add AMIs in ap-northeast-2 and ap-south-1 2016-07-13 10:40:00 +02:00
modules nixos/systemd: disable timer units with service 2016-07-16 09:41:52 +02:00
tests NixOS installer tests: Add a test using Gummiboot 2016-05-31 17:04:24 +02:00
COPYING
default.nix Revert "Add a way to pin a NixOS version within the module system." 2016-02-27 20:48:12 +01:00
README
release-combined.nix nixos/release-combined: Add boot-stage1 test 2016-05-06 22:06:34 +02:00
release-small.nix release-small.nix: Drop the grub1 test 2015-08-11 13:51:55 +02:00
release.nix nixos/tests: Add a test for boot stage 1 2016-05-06 22:06:34 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.