summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2014-06-09 11:29:05 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2014-06-09 11:40:33 +0200
commit054a3c0321d7c7894eac7562e4405edea159223f (patch)
treead3ed41668ca489fca921cadd8b689f117b441e3 /pkgs/development/python-modules/rangehttpserver
parent208d466c21cd51e64ef9b8a32462af9b2991d78d (diff)
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.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions