Mini Shell
[Unit]
Description=Performance Metrics Archive Logger
Documentation=man:pmlogger(1)
After=network-online.target pmcd.service
Before=pmlogger_farm.service pmlogger_check.timer pmlogger_daily.timer
BindsTo=pmlogger_farm.service pmlogger_check.timer pmlogger_daily.timer
Wants=pmcd.service
[Service]
Type=notify
NotifyAccess=all
# The pmlogger service manages the primary pmlogger (only)
Environment="PMLOGGER_CHECK_PARAMS=--only-primary"
EnvironmentFile=-/etc/sysconfig/pmlogger
TimeoutStartSec=120
TimeoutStopSec=120
Restart=always
ExecStart=/usr/libexec/pcp/lib/pmlogger start-systemd
ExecStop=/usr/libexec/pcp/lib/pmlogger stop-systemd
PIDFile=/run/pcp/pmlogger.pid
[Install]
WantedBy=multi-user.target
Zerion Mini Shell 1.0