2024-06-04 01:02:16 +02:00
|
|
|
Index: sanlock-3.9.3/init.d/sanlock.service
|
2012-01-20 01:08:24 +01:00
|
|
|
===================================================================
|
2024-06-04 01:02:16 +02:00
|
|
|
--- sanlock-3.9.3.orig/init.d/sanlock.service
|
|
|
|
+++ sanlock-3.9.3/init.d/sanlock.service
|
2015-06-19 20:04:42 +02:00
|
|
|
@@ -5,8 +5,10 @@ Wants=wdmd.service
|
|
|
|
|
2012-01-20 01:08:24 +01:00
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
-ExecStart=/lib/systemd/systemd-sanlock start
|
|
|
|
-ExecStop=/lib/systemd/systemd-sanlock stop
|
|
|
|
+EnvironmentFile=-/etc/sysconfig/sanlock
|
|
|
|
+ExecStart=/usr/sbin/sanlock daemon $SANLOCKOPTS
|
2012-12-03 23:15:47 +01:00
|
|
|
+ExecStop=/bin/kill -TERM $MAINPID
|
2012-01-20 01:08:24 +01:00
|
|
|
+ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
2024-06-04 01:02:16 +02:00
|
|
|
Index: sanlock-3.9.3/init.d/wdmd.service
|
2012-01-20 01:08:24 +01:00
|
|
|
===================================================================
|
2024-06-04 01:02:16 +02:00
|
|
|
--- sanlock-3.9.3.orig/init.d/wdmd.service
|
|
|
|
+++ sanlock-3.9.3/init.d/wdmd.service
|
2024-07-01 22:39:35 +02:00
|
|
|
@@ -5,8 +5,10 @@ After=syslog.target
|
|
|
|
[Service]
|
2012-01-20 01:08:24 +01:00
|
|
|
Type=forking
|
2024-06-04 01:02:16 +02:00
|
|
|
ExecStartPre=/lib/systemd/systemd-wdmd watchdog-check
|
2024-07-01 22:39:35 +02:00
|
|
|
-ExecStart=/usr/sbin/wdmd
|
2024-06-04 01:02:16 +02:00
|
|
|
-SendSIGKILL=no
|
2012-12-03 23:15:47 +01:00
|
|
|
+EnvironmentFile=-/etc/sysconfig/wdmd
|
|
|
|
+ExecStart=/usr/sbin/wdmd $WDMDOPTS
|
|
|
|
+ExecStop=/bin/kill -TERM $MAINPID
|
2012-01-20 01:08:24 +01:00
|
|
|
+ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
2024-06-04 01:02:16 +02:00
|
|
|
Index: sanlock-3.9.3/init.d/fence_sanlockd.service
|
2017-03-21 22:32:03 +01:00
|
|
|
===================================================================
|
2024-06-04 01:02:16 +02:00
|
|
|
--- sanlock-3.9.3.orig/init.d/fence_sanlockd.service
|
|
|
|
+++ sanlock-3.9.3/init.d/fence_sanlockd.service
|
2017-03-21 22:32:03 +01:00
|
|
|
@@ -5,8 +5,8 @@ Before=corosync.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
-ExecStart=/lib/systemd/systemd-fence_sanlockd start
|
|
|
|
-ExecStop=/lib/systemd/systemd-fence_sanlockd stop
|
|
|
|
+ExecStart=/usr/lib/systemd/systemd-fence_sanlockd start
|
|
|
|
+ExecStop=/usr/lib/systemd/systemd-fence_sanlockd stop
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|