Fixed some old relecis
This commit is contained in:
		@@ -1,4 +0,0 @@
 | 
			
		||||
tls:
 | 
			
		||||
  certificates:
 | 
			
		||||
    - certFile: /tools/certs/traefik.crt
 | 
			
		||||
      keyFile: /tools/certs/traefik.key
 | 
			
		||||
@@ -13,7 +13,6 @@ source site.conf
 | 
			
		||||
 | 
			
		||||
./lib/generate.sh
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
echo -e "\nInstalling systemd units ..."
 | 
			
		||||
cp -v \
 | 
			
		||||
    lib/systemd/bridgehead\@.service \
 | 
			
		||||
@@ -23,8 +22,6 @@ cp -v \
 | 
			
		||||
 | 
			
		||||
systemctl daemon-reload
 | 
			
		||||
 | 
			
		||||
echo
 | 
			
		||||
 | 
			
		||||
if ! systemctl is-active --quiet bridgehead@"${project}"; then
 | 
			
		||||
    echo "Enabling autostart of bridgehead@${project}.service"
 | 
			
		||||
    systemctl enable bridgehead@"${project}"
 | 
			
		||||
 
 | 
			
		||||
@@ -32,6 +32,7 @@ done
 | 
			
		||||
if [ $git_updated = "true" ] || [ $docker_updated = "true" ]; then
 | 
			
		||||
  log "INFO" "Due to previous updates now restarting $service@$1"
 | 
			
		||||
  systemctl restart "$service@$1.service"
 | 
			
		||||
  ./lib/generate.sh
 | 
			
		||||
fi
 | 
			
		||||
log "INFO" "checking updates finished"
 | 
			
		||||
exit 0
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user