]>
Commit | Line | Data |
---|---|---|
c6783777 DM |
1 | Index: new/scripts/lvm2_cluster_activation_systemd_red_hat.service.in |
2 | =================================================================== | |
3 | --- new.orig/scripts/lvm2_cluster_activation_systemd_red_hat.service.in | |
4 | +++ new/scripts/lvm2_cluster_activation_systemd_red_hat.service.in | |
5 | @@ -9,7 +9,7 @@ Conflicts=shutdown.target | |
6 | [Service] | |
7 | Type=simple | |
8 | RemainAfterExit=yes | |
9 | -EnvironmentFile=-@sysconfdir@/sysconfig/clvmd | |
10 | +EnvironmentFile=-/etc/default/clvmd | |
11 | ExecStart=@systemdutildir@/lvm2-cluster-activation activate | |
12 | ExecStop=@systemdutildir@/lvm2-cluster-activation deactivate | |
13 | ||
14 | Index: new/scripts/lvm2_clvmd_systemd_red_hat.service.in | |
15 | =================================================================== | |
16 | --- new.orig/scripts/lvm2_clvmd_systemd_red_hat.service.in | |
17 | +++ new/scripts/lvm2_clvmd_systemd_red_hat.service.in | |
18 | @@ -13,8 +13,8 @@ Conflicts=shutdown.target | |
19 | [Service] | |
20 | Type=forking | |
21 | Environment=CLVMD_OPTS=-T30 | |
22 | -EnvironmentFile=-@sysconfdir@/sysconfig/clvmd | |
23 | -ExecStart=@sbindir@/clvmd $CLVMD_OPTS | |
24 | +EnvironmentFile=-/etc/default/clvmd | |
25 | +ExecStart=/usr/sbin/clvmd $CLVMD_OPTS | |
26 | SuccessExitStatus=5 | |
27 | TimeoutStartSec=30 | |
28 | TimeoutStopSec=10 |