mirror of
https://github.com/samply/bridgehead.git
synced 2025-11-04 21:00:18 +01:00
Make systemctl disable more robust
This commit is contained in:
@@ -5,8 +5,6 @@ source lib/functions.sh
|
|||||||
|
|
||||||
echo "Stopping systemd services and removing bridgehead ..."
|
echo "Stopping systemd services and removing bridgehead ..."
|
||||||
|
|
||||||
systemctl disable --now bridgehead@${project}.service
|
systemctl disable --now bridgehead@${project}.service bridgehead-update@${project}.timer bridgehead-update@${project}.service
|
||||||
systemctl disable --now bridgehead-update@${project}.timer
|
|
||||||
systemctl disable --now bridgehead-update@${project}.service
|
|
||||||
|
|
||||||
rm -v /etc/systemd/system/{bridgehead\@.service,bridgehead-update\@.timer,bridgehead-update\@.service}
|
rm -v /etc/systemd/system/{bridgehead\@.service,bridgehead-update\@.timer,bridgehead-update\@.service}
|
||||||
|
|||||||
Reference in New Issue
Block a user