2013-08-02 00:48:51 +02:00
|
|
|
Index: sanlock-3.0.1/init.d/sanlock.service
|
2012-01-20 01:08:24 +01:00
|
|
|
===================================================================
|
2013-08-02 00:48:51 +02:00
|
|
|
--- sanlock-3.0.1.orig/init.d/sanlock.service
|
|
|
|
+++ sanlock-3.0.1/init.d/sanlock.service
|
|
|
|
@@ -6,8 +6,10 @@ Wants=wdmd.service
|
2012-01-20 01:08:24 +01:00
|
|
|
[Service]
|
|
|
|
Type=forking
|
2012-12-03 23:15:47 +01:00
|
|
|
ControlGroup=cpu:/
|
2012-01-20 01:08:24 +01:00
|
|
|
-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
|
2013-08-02 00:48:51 +02:00
|
|
|
Index: sanlock-3.0.1/init.d/wdmd.service
|
2012-01-20 01:08:24 +01:00
|
|
|
===================================================================
|
2013-08-02 00:48:51 +02:00
|
|
|
--- sanlock-3.0.1.orig/init.d/wdmd.service
|
|
|
|
+++ sanlock-3.0.1/init.d/wdmd.service
|
2012-12-03 23:15:47 +01:00
|
|
|
@@ -5,8 +5,10 @@ After=syslog.target
|
2012-01-20 01:08:24 +01:00
|
|
|
[Service]
|
|
|
|
Type=forking
|
2012-12-03 23:15:47 +01:00
|
|
|
ControlGroup=cpu:/
|
2012-01-20 01:08:24 +01:00
|
|
|
-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
|