aboutsummaryrefslogtreecommitdiffstats
path: root/debian/wireguard-config.postinst
blob: d29471fc83d57fcb0b494978898fbba3d35ae158 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
#
# TODO: Handle "$1".

set -e

#DEBHELPER#

# Start wireguard service with `wg0.conf`.
deb-systemd-helper enable wg-quick@wg0
deb-systemd-invoke restart wg-quick@wg0