文件操作 - man-db.service
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/systemd/system/man-db.service
编辑文件内容
[Unit] Description=Daily man-db regeneration Documentation=man:mandb(8) ConditionACPower=true [Service] Type=oneshot # Recover from deletion, per FHS. ExecStart=+/usr/bin/install -d -o man -g man -m 0755 /var/cache/man # Regenerate man database. ExecStart=/usr/bin/mandb --quiet User=man Nice=19 IOSchedulingClass=idle IOSchedulingPriority=7 LockPersonality=true PrivateDevices=true PrivateTmp=true ProtectClock=true ProtectControlGroups=true ProtectHome=true ProtectHostname=true ProtectKernelLogs=true ProtectKernelModules=true ProtectKernelTunables=true ProtectSystem=full RestrictRealtime=true
修改文件时间
将文件时间修改为当前时间的前一年
删除文件