Mini Shell
Direktori : /lib/systemd/system/ |
|
Current File : //lib/systemd/system/pmlogger_farm_check.service |
[Unit]
Description=Check and migrate non-primary pmlogger farm instances
Documentation=man:pmlogctl(1)
ConditionPathExists=!/etc/cron.d/pcp-pmlogger
[Service]
Type=exec
Restart=no
TimeoutStartSec=4h
TimeoutStopSec=120
# needs to run as root:root not pcp:pcp, pmlogctl will handle the
# switch to pcp:pcp if any pmlogger needs to be launched, so NO
# User= nor Group= here
ExecStart=/usr/bin/pmlogctl -m check
WorkingDirectory=/var/lib/pcp