Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: fb7cdbc15d96
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 7c90a8677090
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 22, 2018

  1. 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.
    abbradar authored and thoughtpolice committed Apr 22, 2018
    Copy the full SHA
    7c90a86 View commit details
    Browse the repository at this point in the history