1
1
mirror of https://github.com/namibia/openvpn-install.git synced 2024-06-06 21:40:47 +00:00
It's late.
This commit is contained in:
Angristan 2017-06-26 02:20:38 +02:00 committed by GitHub
parent 19fe6626f1
commit 6800ef35f7

View File

@ -558,7 +558,7 @@ verb 3" >> /etc/openvpn/server.conf
fi
else
if pgrep systemd-journal; then
if [[ "$OS" = 'arch']]; then
if [[ "$OS" = 'arch' ]]; then
#Workaround to avoid rewriting the entire script for Arch
sed -i 's|/etc/openvpn/server|/etc/openvpn|' /usr/lib/systemd/system/openvpn-server@.service
sed -i 's|%i.conf|server.conf|' /usr/lib/systemd/system/openvpn-server@.service