3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos
Bjørn Forsman 2eb8aab42c 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.
2016-07-11 22:42:47 +02:00
..
doc/manual documentation: fix start display-manager command 2016-07-04 10:25:31 +02:00
lib nixos: throw an error on invalid shell package 2016-07-04 15:12:27 +01:00
maintainers ec2/create-amis.sh: specify the approriate size on snapshots 2016-05-07 19:44:39 +01:00
modules nixos/systemd: disable timer units with service 2016-07-11 22:42:47 +02:00
tests gnome3: make 3.20 the default 2016-07-10 16:17:37 +02:00
COPYING
default.nix nix: Add a "dev" output 2016-04-18 21:13:18 +02:00
README
release-combined.nix Make i3wm test a release blocker 2016-05-26 10:47:15 +01:00
release-small.nix containers: test imperative and ipv4 in small-release (#15015) 2016-04-26 22:38:47 +02:00
release.nix nixos/tests: Add a test for boot stage 1 2016-05-06 16:56:43 +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.