mirror of
https://github.com/tommytran732/Fedora-CoreOS-Ignition.git
synced 2024-10-01 01:15:36 -04:00
Fix docker-compose-updater dependency
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
46f5a8070d
commit
7a207ba742
@ -234,7 +234,7 @@
|
|||||||
"name": "gvisor-updater.service"
|
"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,
|
"enabled": false,
|
||||||
"name": "docker-compose-updater@.service"
|
"name": "docker-compose-updater@.service"
|
||||||
},
|
},
|
||||||
|
@ -141,9 +141,9 @@ systemd:
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Docker Compose Updater for /srv/%I
|
Description=Docker Compose Updater for /srv/%I
|
||||||
Requires=network-online.target
|
Requires=network-online.target
|
||||||
Requires=gvisor-updater.service
|
Requisite=docker.service
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
After=gvisor-updater.service
|
After=docker.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
Loading…
Reference in New Issue
Block a user