Fix uninstall-bridgehead.sh
This commit is contained in:
parent
0d7769fa7f
commit
31ab3ddef2
|
@ -5,7 +5,8 @@ source lib/functions.sh
|
||||||
|
|
||||||
echo "Stopping systemd services and removing bridgehead ..."
|
echo "Stopping systemd services and removing bridgehead ..."
|
||||||
|
|
||||||
for i in bridgehead\@.service bridgehead-update\@.timer bridgehead-update\@.service; do
|
systemctl disable --now bridgehead@${project}.service
|
||||||
systemctl disable $i --now
|
systemctl disable --now bridgehead-update@${project}.timer
|
||||||
rm -v /etc/systemd/system/$i
|
systemctl disable --now bridgehead-update@${project}.service
|
||||||
done
|
|
||||||
|
rm -v /etc/systemd/system/{bridgehead\@.service,bridgehead-update\@.timer,bridgehead-update\@.service}
|
||||||
|
|
Loading…
Reference in New Issue