3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/services
Bjørn Forsman 054a3c0321 nixos/graphite-service: clean up restartTriggers
Currently, the restartTriggers are abusing the systemd unit file in that
the cfg.carbon.config/storageAggregation/... option text is pasted into
the unit file. Even though this sort-of works (the service is restarted
if the config changes) this causes systemd to print error messages about
invalid sections (rightfully so!).

The correct use of restartTriggers is to list storage paths, which is
what this change does. If any of the
cfg.carbon/config/storageAggregation/... options change, configDir will
get a new hash. It is not as "fine grained" as the current version, but
it is not abusing the interface.

Also, remove unneeded 'waitress' in one of the restartTriggers, because
it is already listed as part of the service config.
2014-06-09 11:40:33 +02:00
..
amqp Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00
audio nixos/modules/services/audio/alsa.nix: fix evaluation 2014-05-23 19:20:49 +02:00
backup nixos: refactor tarsnap module 2014-04-28 18:15:16 -05:00
continuous-integration/jenkins Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00
databases couchdb service: adding customizable config file which is writable by couchdb 2014-06-06 15:30:58 +01:00
desktops Add gvfs dbus service and gvfs gio modules to gnome 3 2014-05-26 11:13:51 +02:00
games Fix some uid/gid attributes to match the actual user/group name 2014-04-29 10:51:42 +02:00
hardware sane: Make SANE_CONFIG_DIR overrideable 2014-05-30 10:18:39 +02:00
logging Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00
mail Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00
misc Fix some uid/gid attributes to match the actual user/group name 2014-04-29 10:51:42 +02:00
monitoring nixos/graphite-service: clean up restartTriggers 2014-06-09 11:40:33 +02:00
network-filesystems Merge pull request #2248 from ehmry/rsync 2014-04-18 10:17:08 -07:00
networking Merge pull request #2790 from ehmry/unbound 2014-05-30 14:46:29 +02:00
printing cups: Add a listenAddresses option 2014-04-25 00:30:12 +02:00
scheduling Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00
search Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00
security Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00
system Make nscd startup synchronous 2014-04-24 23:18:47 +02:00
torrent transmission: Fix apparmor rules to allow loading more libraries 2014-05-22 19:46:08 +02:00
ttys Fix udev rule required by gpm 2014-05-20 13:09:41 +02:00
web-servers tomcat: fix service to be a daemon, and run tomcat in script rather than preStart 2014-06-06 14:04:35 +02:00
x11 nautilus-sendto: new package 2014-05-28 17:27:48 +02:00