diff options
author | Nikolay Amiantov <ab@fmap.me> | 2018-04-01 18:22:14 +0300 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2018-04-22 13:33:11 -0500 |
commit | 7c90a8677090bb144cc8db17aaf485def8d54a91 (patch) | |
tree | 15616075b5fb6346638418c40464194ecdb0f223 /pkgs/tools/misc | |
parent | fb7cdbc15d964f3a3b7337ed125fb2b5a20c30cc (diff) | |
download | nixlib-7c90a8677090bb144cc8db17aaf485def8d54a91.tar nixlib-7c90a8677090bb144cc8db17aaf485def8d54a91.tar.gz nixlib-7c90a8677090bb144cc8db17aaf485def8d54a91.tar.bz2 nixlib-7c90a8677090bb144cc8db17aaf485def8d54a91.tar.lz nixlib-7c90a8677090bb144cc8db17aaf485def8d54a91.tar.xz nixlib-7c90a8677090bb144cc8db17aaf485def8d54a91.tar.zst nixlib-7c90a8677090bb144cc8db17aaf485def8d54a91.zip |
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/tools/misc')
0 files changed, 0 insertions, 0 deletions