Remove obsolete Ubuntu case
Ubuntu uses systemd
This commit is contained in:
parent
32b1c4fcb5
commit
1564232fbd
1 changed files with 0 additions and 5 deletions
|
|
@ -931,11 +931,6 @@ verb 3" >>/etc/openvpn/server/server.conf
|
|||
systemctl daemon-reload
|
||||
systemctl enable openvpn-server@server
|
||||
systemctl restart openvpn-server@server
|
||||
elif [[ $OS == "ubuntu" ]] && [[ $VERSION_ID == "16.04" ]]; then
|
||||
# On Ubuntu 16.04, we use the package from the OpenVPN repo
|
||||
# This package uses a sysvinit service
|
||||
systemctl enable openvpn
|
||||
systemctl start openvpn
|
||||
else
|
||||
# Don't modify package-provided service
|
||||
cp /lib/systemd/system/openvpn\@.service /etc/systemd/system/openvpn\@.service
|
||||
|
|
|
|||
Loading…
Reference in a new issue