mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 09:03:48 +00:00
054a3c0321
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. |
||
---|---|---|
.. | ||
nagios | ||
apcupsd.nix | ||
dd-agent.nix | ||
graphite.nix | ||
monit.nix | ||
munin.nix | ||
smartd.nix | ||
statsd.nix | ||
systemhealth.nix | ||
ups.nix | ||
uptime.nix | ||
zabbix-agent.nix | ||
zabbix-server.nix |