aboutsummaryrefslogtreecommitdiff
path: root/scripts/lvm2_lvmetad_systemd_red_hat.service.in
blob: 8f4c60d5295f36667b4132e21e6b28f956dd6aab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=LVM2 metadata daemon
Documentation=man:lvmetad(8)
Requires=lvm2-lvmetad.socket
After=lvm2-lvmetad.socket
DefaultDependencies=no
Conflicts=shutdown.target

[Service]
Type=simple
NonBlocking=true
ExecStart=@sbindir@/lvmetad -f
Environment=SD_ACTIVATION=1
Restart=on-abort
PIDFile=@LVMETAD_PIDFILE@

[Install]
WantedBy=sysinit.target