2015-06-19 20:04:42 +02:00
|
|
|
Index: sanlock-3.2.4/init.d/sanlock.service
|
2012-01-20 01:08:24 +01:00
|
|
|
===================================================================
|
2015-06-19 20:04:42 +02:00
|
|
|
--- sanlock-3.2.4.orig/init.d/sanlock.service
|
|
|
|
+++ sanlock-3.2.4/init.d/sanlock.service
|
|
|
|
@@ -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
|
2015-06-19 20:04:42 +02:00
|
|
|
Index: sanlock-3.2.4/init.d/wdmd.service
|
2012-01-20 01:08:24 +01:00
|
|
|
===================================================================
|
2015-06-19 20:04:42 +02:00
|
|
|
--- sanlock-3.2.4.orig/init.d/wdmd.service
|
|
|
|
+++ sanlock-3.2.4/init.d/wdmd.service
|
|
|
|
@@ -4,8 +4,10 @@ After=syslog.target
|
|
|
|
|
2012-01-20 01:08:24 +01:00
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
-ExecStart=/lib/systemd/systemd-wdmd start
|
|
|
|
-ExecStop=/lib/systemd/systemd-wdmd stop
|
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
|