文件操作 - dnf-makecache.service
返回文件管理
返回主菜单
删除本文件
文件: /lib/systemd/system/dnf-makecache.service
编辑文件内容
[Unit] Description=dnf makecache # On systems managed by either rpm-ostree/ostree, dnf is read-only; # while someone might theoretically want the cache updated, in practice # anyone who wants that could override this via a file in /etc. ConditionPathExists=!/run/ostree-booted After=network-online.target [Service] Type=oneshot Nice=19 IOSchedulingClass=2 IOSchedulingPriority=7 Environment="ABRT_IGNORE_PYTHON=1" ExecStart=/usr/bin/dnf makecache --timer
修改文件时间
将文件时间修改为当前时间的前一年
删除文件