mirror of
https://github.com/pivpn/pivpn.git
synced 2025-04-21 23:00:17 +00:00
Add systemd override for wg-quick units that don't yet implement reload
- Discussed on pull request 1164
This commit is contained in:
parent
9955f1fc02
commit
d860f1d402
3 changed files with 13 additions and 0 deletions
|
@ -146,6 +146,10 @@ removeAll(){
|
|||
${UPDATE_PKG_CACHE} &> /dev/null & spinner $!
|
||||
fi
|
||||
|
||||
if [ -f /etc/systemd/system/wg-quick@.service.d/override.conf ]; then
|
||||
rm -f /etc/systemd/system/wg-quick@.service.d/override.conf
|
||||
fi
|
||||
|
||||
elif [ "${i}" = "unattended-upgrades" ]; then
|
||||
|
||||
rm -rf /var/log/unattended-upgrades
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue