11 lines
350 B
Bash
11 lines
350 B
Bash
#!/bin/bash -e
|
|
|
|
source site.conf
|
|
source lib/functions.sh
|
|
|
|
echo "Stopping systemd services and removing bridgehead ..."
|
|
|
|
systemctl disable --now bridgehead@${project}.service bridgehead-update@${project}.timer bridgehead-update@${project}.service
|
|
|
|
rm -v /etc/systemd/system/{bridgehead\@.service,bridgehead-update\@.timer,bridgehead-update\@.service}
|