Moved all systemd untis to user bridgehead

This commit is contained in:
root
2022-05-04 09:14:32 +02:00
parent 5bacdf02fb
commit 26c9fc0cff
6 changed files with 20 additions and 11 deletions

View File

@@ -3,7 +3,7 @@
source lib/functions.sh
if ! su bridgehead ./lib/prerequisites.sh; then
if ! ./lib/prerequisites.sh; then
log "Prerequisites failed, exiting"
exit 1
fi
@@ -18,8 +18,6 @@ cp -v \
systemctl daemon-reload
su bridgehead source ./lib/generate.sh
echo
if ! systemctl is-active --quiet bridgehead@"${project}"; then