diff options
author | Ondrej Kozina <okozina@redhat.com> | 2015-03-09 18:29:18 +0100 |
---|---|---|
committer | Ondrej Kozina <okozina@redhat.com> | 2015-04-01 11:01:22 +0200 |
commit | 736bb304b8ea0b82318b5899aac7453c9139907a (patch) | |
tree | c9b928d89161325925bcf4215ce7924b21ec8273 | |
parent | 2e4b1f280d1af49897049c6a60b9e32aaeedde20 (diff) | |
download | lvm2-736bb304b8ea0b82318b5899aac7453c9139907a.tar.gz |
lvm2-lvmpolld.service: add shutdown on idle
after 60 seconds of being idle lvmpolld can shutdown
-rw-r--r-- | scripts/lvm2_lvmpolld_systemd_red_hat.service.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/lvm2_lvmpolld_systemd_red_hat.service.in b/scripts/lvm2_lvmpolld_systemd_red_hat.service.in index 85c1fccac..d7ff492ae 100644 --- a/scripts/lvm2_lvmpolld_systemd_red_hat.service.in +++ b/scripts/lvm2_lvmpolld_systemd_red_hat.service.in @@ -9,9 +9,8 @@ Conflicts=shutdown.target [Service] Type=simple NonBlocking=true -ExecStart=@sbindir@/lvmpolld -f -l all +ExecStart=@sbindir@/lvmpolld -t 60 -f Environment=SD_ACTIVATION=1 -# Restart=on-abort PIDFile=@LVMPOLLD_PIDFILE@ [Install] |