summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/httpserver
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2017-08-13 21:46:13 +0800
committerPeter Hoeg <peter@hoeg.com>2017-08-13 21:56:48 +0800
commit4ce76d9e1a4abb5ef0461ea8ac19095868fa5f66 (patch)
tree99fe4cbf4c7e055545c178d16145812ec63889a4 /pkgs/development/python-modules/httpserver
parentd4f4f418b31f0a70dce50f54ce4280fef76cba08 (diff)
ddclient nixos module: follow best practice for running daemons
Couple of changes: - move home to /var/lib/ddclient so we can enable ProtectSystem=full - do not stick binary into systemPackages as it will only run as a daemon - run as dedicated user/group - document why we cannot run as type=forking (output is swallowed) - secure things by running with ProtectSystem and PrivateTmp - .pid file goes into /run/ddclient - let nix create the home directory instead of handling it manually - make the interval configurable
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions