Fixed some old relecis

This commit is contained in:
root 2022-03-02 14:57:27 +01:00
parent ab33a03a51
commit ccaffcf72d
3 changed files with 1 additions and 7 deletions

View File

@ -1,4 +0,0 @@
tls:
certificates:
- certFile: /tools/certs/traefik.crt
keyFile: /tools/certs/traefik.key

View File

@ -13,7 +13,6 @@ source site.conf
./lib/generate.sh ./lib/generate.sh
echo -e "\nInstalling systemd units ..." echo -e "\nInstalling systemd units ..."
cp -v \ cp -v \
lib/systemd/bridgehead\@.service \ lib/systemd/bridgehead\@.service \
@ -23,8 +22,6 @@ cp -v \
systemctl daemon-reload systemctl daemon-reload
echo
if ! systemctl is-active --quiet bridgehead@"${project}"; then if ! systemctl is-active --quiet bridgehead@"${project}"; then
echo "Enabling autostart of bridgehead@${project}.service" echo "Enabling autostart of bridgehead@${project}.service"
systemctl enable bridgehead@"${project}" systemctl enable bridgehead@"${project}"

View File

@ -32,6 +32,7 @@ done
if [ $git_updated = "true" ] || [ $docker_updated = "true" ]; then if [ $git_updated = "true" ] || [ $docker_updated = "true" ]; then
log "INFO" "Due to previous updates now restarting $service@$1" log "INFO" "Due to previous updates now restarting $service@$1"
systemctl restart "$service@$1.service" systemctl restart "$service@$1.service"
./lib/generate.sh
fi fi
log "INFO" "checking updates finished" log "INFO" "checking updates finished"
exit 0 exit 0