mirror of
				https://github.com/TommyTran732/Fedora-CoreOS-Ignition.git
				synced 2025-11-04 11:08:35 +01:00 
			
		
		
		
	Fix docker-compose-updater dependency
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
		@@ -234,7 +234,7 @@
 | 
			
		||||
        "name": "gvisor-updater.service"
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        "contents": "[Unit]\nDescription=Docker Compose Updater for /srv/%I\nAfter=network-online.target\nAfter=docker.service\nRequires=docker.service\n\n[Service]\nType=oneshot\nUser=root\nGroup=root\nWorkingDirectory=/srv/%i\nExecStart=/usr/bin/docker image prune -f -a --filter 'until=240h'\n#ExecStart=/usr/bin/git pull\nExecStart=/usr/bin/docker compose pull\nExecStart=/usr/bin/docker compose up -d\n",
 | 
			
		||||
        "contents": "[Unit]\nDescription=Docker Compose Updater for /srv/%I\nRequires=network-online.target\nRequisite=docker.service\nAfter=network-online.target\nAfter=docker.service\n\n[Service]\nType=oneshot\nUser=root\nGroup=root\nWorkingDirectory=/srv/%i\nExecStart=/usr/bin/docker image prune -f -a --filter 'until=240h'\n#ExecStart=/usr/bin/git pull\nExecStart=/usr/bin/docker compose pull\nExecStart=/usr/bin/docker compose up -d\n",
 | 
			
		||||
        "enabled": false,
 | 
			
		||||
        "name": "docker-compose-updater@.service"
 | 
			
		||||
      },
 | 
			
		||||
 
 | 
			
		||||
@@ -141,9 +141,9 @@ systemd:
 | 
			
		||||
        [Unit]
 | 
			
		||||
        Description=Docker Compose Updater for /srv/%I
 | 
			
		||||
        Requires=network-online.target
 | 
			
		||||
        Requires=gvisor-updater.service
 | 
			
		||||
        Requisite=docker.service
 | 
			
		||||
        After=network-online.target
 | 
			
		||||
        After=gvisor-updater.service
 | 
			
		||||
        After=docker.service
 | 
			
		||||
 | 
			
		||||
        [Service]
 | 
			
		||||
        Type=oneshot
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user