diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2012-03-08 09:49:09 +0000 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2012-03-08 09:49:09 +0000 |
commit | aeb7a93796e764452830688b89c98b1bb9a2a591 (patch) | |
tree | 51d59725308aa05ed6bd270cfee0b5ac3ad35e4c /scripts | |
parent | 34a45b0029c767827d4a9ef10cc62cf6a42d9b72 (diff) | |
download | lvm2-aeb7a93796e764452830688b89c98b1bb9a2a591.tar.gz |
Add 'Restart: on-abort' for lvmetad systemd service.
Restart lvmetad automatically if it exits due to reception of uncaught signal,
leaving a track in systemd log/syslog.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lvm2_lvmetad_systemd_red_hat.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lvm2_lvmetad_systemd_red_hat.service.in b/scripts/lvm2_lvmetad_systemd_red_hat.service.in index ec43494a1..afb46c229 100644 --- a/scripts/lvm2_lvmetad_systemd_red_hat.service.in +++ b/scripts/lvm2_lvmetad_systemd_red_hat.service.in @@ -11,6 +11,7 @@ NonBlocking=true ExecStart=@sbindir@/lvmetad ExecStartPost=@sbindir@/vgscan ExecReload=@sbindir@/lvmetad -R +Restart=on-abort PIDFile=@DEFAULT_RUN_DIR@/lvmetad.pid [Install] |