summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2018-04-01 18:22:14 +0300
committerAustin Seipp <aseipp@pobox.com>2018-04-22 13:33:11 -0500
commit7c90a8677090bb144cc8db17aaf485def8d54a91 (patch)
tree15616075b5fb6346638418c40464194ecdb0f223 /pkgs/development/python-modules/rangehttpserver
parentfb7cdbc15d964f3a3b7337ed125fb2b5a20c30cc (diff)
wireguard service: use scripts instead of ExecStarts/Stops
This is more in line with what other services do; also looks cleaner. It changes configuration entries for pre-and post-hooks type to lines from lists of strings which are more logical for them; coersion is provided for backwards compatibility. Finally, add several steps to improve robustness: 1. Load kernel module on start if not loaded; 2. Don't remove wireguard interface on start; it is removed on service stop. If it's not something is wrong.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions