Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 2eb8aab42cf8623704904b41f4ffe9783bad7b07
      
https://github.com/NixOS/nixpkgs/commit/2eb8aab42cf8623704904b41f4ffe9783bad7b07
  Author: Bjørn Forsman <[email protected]>
  Date:   2016-07-11 (Mon, 11 Jul 2016)

  Changed paths:
    M nixos/modules/system/boot/systemd.nix

  Log Message:
  -----------
  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.


_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to