change interval to 1 hour
This commit is contained in:
parent
0bb4f9c9cc
commit
a563cd8e4b
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ cd /tmp/gpu-screen-recorder-gtk && \
|
|||
# enable automatic updates
|
||||
sed -i 's/#AutomaticUpdatePolicy.*/AutomaticUpdatePolicy=stage/' /etc/rpm-ostreed.conf && \
|
||||
# change auto update interval
|
||||
sed -i 's/OnUnitInactiveSec.*/OnUnitInactiveSec=5h\nOnCalendar=*-*-* 06:30:00\nPersistent=true/' /usr/lib/systemd/system/rpm-ostreed-automatic.timer && \
|
||||
sed -i 's/OnUnitInactiveSec.*/OnUnitInactiveSec=1h\nOnCalendar=*-*-* 06:30:00\nPersistent=true/' /usr/lib/systemd/system/rpm-ostreed-automatic.timer && \
|
||||
systemctl enable rpm-ostreed-automatic.timer && \
|
||||
# Clear cache, /var and /tmp and commit ostree
|
||||
rpm-ostree cleanup -m && rm -rf /tmp/* /var/* && mkdir -p /var/tmp && chmod -R 1777 /var/tmp && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue