diff options
author | Ondrej Kozina <okozina@redhat.com> | 2015-05-09 00:59:18 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2015-05-09 00:59:18 +0100 |
commit | e587b0677b705786a78f21bac1966621f70b2752 (patch) | |
tree | e3c742e63c7e2146866a7eadaa39cfd54cb5914e /scripts/lvm2_lvmpolld_systemd_red_hat.service.in | |
parent | be23fae488b7df19147259d3e8505fc8301076cd (diff) | |
download | lvm2-e587b0677b705786a78f21bac1966621f70b2752.tar.gz |
lvmpolld: Add standalone polldaemon.
See doc/lvmpolld_overview.txt
Diffstat (limited to 'scripts/lvm2_lvmpolld_systemd_red_hat.service.in')
-rw-r--r-- | scripts/lvm2_lvmpolld_systemd_red_hat.service.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/lvm2_lvmpolld_systemd_red_hat.service.in b/scripts/lvm2_lvmpolld_systemd_red_hat.service.in new file mode 100644 index 000000000..d7ff492ae --- /dev/null +++ b/scripts/lvm2_lvmpolld_systemd_red_hat.service.in @@ -0,0 +1,17 @@ +[Unit] +Description=LVM2 poll daemon +Documentation=man:lvmpolld(8) +Requires=lvm2-lvmpolld.socket +After=lvm2-lvmpolld.socket +DefaultDependencies=no +Conflicts=shutdown.target + +[Service] +Type=simple +NonBlocking=true +ExecStart=@sbindir@/lvmpolld -t 60 -f +Environment=SD_ACTIVATION=1 +PIDFile=@LVMPOLLD_PIDFILE@ + +[Install] +WantedBy=sysinit.target |