Force restart systemd-networkd

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2017-11-27 11:52:05 +00:00
parent 495138ffe4
commit a02839712e

View File

@@ -32,12 +32,9 @@ EOF
( umask 077; echo "$KEY" > /etc/glorytun/"$NAME".key )
# always reload
systemctl daemon-reload
# start services
_ask "Start glorytun now ? (enter to skip)" START
case "$START" in y*|Y*)
systemctl start systemd-networkd
systemctl restart systemd-networkd
systemctl start glorytun@"$NAME" ;;
esac