mirror of
https://github.com/tommytran732/Fedora-CoreOS-Ignition
synced 2024-12-03 22:21:32 -05:00
Switch to using systemd timer for container update
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
4b109fa93b
commit
c6a758d8a0
@ -251,6 +251,11 @@
|
||||
"enabled": false,
|
||||
"name": "docker-compose-updater.service"
|
||||
},
|
||||
{
|
||||
"contents": "[Unit]\nDescription=Run docker-compose-updater once a week, 15 minutes after OS update\n\n[Timer]\nOnCalendar=Fri 0:15\nPersistent=true\n\n[Install]\nWantedBy=timers.target\n",
|
||||
"enabled": false,
|
||||
"name": "docker-compose-updater.timer"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"name": "docker.service"
|
||||
|
@ -140,6 +140,18 @@ systemd:
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
- name: docker-compose-updater.timer
|
||||
enabled: false
|
||||
contents: |
|
||||
[Unit]
|
||||
Description=Run docker-compose-updater once a week, 15 minutes after OS update
|
||||
|
||||
[Timer]
|
||||
OnCalendar=Fri 0:15
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
- name: docker.service
|
||||
enabled: true
|
||||
- name: fstrim.timer
|
||||
|
Loading…
Reference in New Issue
Block a user