Remove BRIDGEHEAD_PATH env variable

This commit is contained in:
Martin Lablans 2022-01-10 15:17:27 +01:00
parent 3bab2f6dfd
commit 75b33690f6
2 changed files with 0 additions and 8 deletions

View File

@ -9,12 +9,6 @@ source site.conf
echo "Installing bridgehead"
if [ -z "$BRIDGEHEAD_PATH" ] ; then
echo "BRIDGEHEAD_PATH=${PWD}" >> /etc/environment
echo "Please reboot the system to properly set the enviroment"
exit
fi
_systemd_path=/etc/systemd/system/

View File

@ -6,8 +6,6 @@ systemctl stop bridgehead@"${project}".service
systemctl stop bridgehead-update@"${project}".timer
systemctl stop bridgehead-update@"${project}".service
sed -i -e "s|BRIDGEHEAD_PATH=.*||" /etc/environment
cd /etc/systemd/system/
rm bridgehead\@.service
rm bridgehead-update\@.timer