mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-19 19:30:16 +00:00
Update install.sh
add -D option because wg-quick@.service.d folder is not yet created
This commit is contained in:
parent
43057b3f3b
commit
915563610d
1 changed files with 1 additions and 1 deletions
|
@ -2040,7 +2040,7 @@ confWireGuard(){
|
||||||
# Reload job type is not yet available in wireguard-tools shipped with Ubuntu 20.04
|
# Reload job type is not yet available in wireguard-tools shipped with Ubuntu 20.04
|
||||||
if ! grep -q 'ExecReload' /usr/lib/systemd/system/wg-quick@.service; then
|
if ! grep -q 'ExecReload' /usr/lib/systemd/system/wg-quick@.service; then
|
||||||
echo "::: Adding additional reload job type for wg-quick unit"
|
echo "::: Adding additional reload job type for wg-quick unit"
|
||||||
$SUDO install -m 644 "${pivpnFilesDir}"/files/etc/systemd/system/wg-quick@.service.d/override.conf /etc/systemd/system/wg-quick@.service.d/override.conf
|
$SUDO install -D -m 644 "${pivpnFilesDir}"/files/etc/systemd/system/wg-quick@.service.d/override.conf /etc/systemd/system/wg-quick@.service.d/override.conf
|
||||||
$SUDO systemctl daemon-reload
|
$SUDO systemctl daemon-reload
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue