文件操作 - pmlogger_check.service
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/systemd/system/pmlogger_check.service
编辑文件内容
[Unit] Description=Check pmlogger instances are running Documentation=man:pmlogger_check(1) ConditionPathExists=!/etc/cron.d/pcp-pmlogger [Service] Type=oneshot Environment="PMLOGGER_CHECK_PARAMS=-C" EnvironmentFile=-/etc/sysconfig/pmlogger_timers ExecStart=/usr/libexec/pcp/bin/pmlogger_check $PMLOGGER_CHECK_PARAMS User=pcp [Install] RequiredBy=pmlogger.service
修改文件时间
将文件时间修改为当前时间的前一年
删除文件