Deluge: Difference between revisions
No edit summary |
m Fix typo in nix code |
||
Line 35: | Line 35: | ||
RemainAfterExit = true; | RemainAfterExit = true; | ||
ExecStart = with pkgs; writers.writeBash "wg-up" '' | ExecStart = with pkgs; writers.writeBash "wg-up" '' | ||
set -e | |||
${iproute2}/bin/ip link add wg0 type wireguard | ${iproute2}/bin/ip link add wg0 type wireguard | ||
${iproute2}/bin/ip link set wg0 netns wg | ${iproute2}/bin/ip link set wg0 netns wg |