2012-12-03 22:15:47 +00:00
|
|
|
Index: sanlock-2.6/init.d/sanlock.service
|
2012-01-20 00:08:24 +00:00
|
|
|
===================================================================
|
2012-12-03 22:15:47 +00:00
|
|
|
--- sanlock-2.6.orig/init.d/sanlock.service
|
|
|
|
+++ sanlock-2.6/init.d/sanlock.service
|
|
|
|
@@ -5,8 +5,10 @@ After=syslog.target wdmd.service
|
2012-01-20 00:08:24 +00:00
|
|
|
[Service]
|
|
|
|
Type=forking
|
2012-12-03 22:15:47 +00:00
|
|
|
ControlGroup=cpu:/
|
2012-01-20 00:08:24 +00: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 22:15:47 +00:00
|
|
|
+ExecStop=/bin/kill -TERM $MAINPID
|
2012-01-20 00:08:24 +00:00
|
|
|
+ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
2012-12-03 22:15:47 +00:00
|
|
|
Index: sanlock-2.6/init.d/wdmd.service
|
2012-01-20 00:08:24 +00:00
|
|
|
===================================================================
|
2012-12-03 22:15:47 +00:00
|
|
|
--- sanlock-2.6.orig/init.d/wdmd.service
|
|
|
|
+++ sanlock-2.6/init.d/wdmd.service
|
|
|
|
@@ -5,8 +5,10 @@ After=syslog.target
|
2012-01-20 00:08:24 +00:00
|
|
|
[Service]
|
|
|
|
Type=forking
|
2012-12-03 22:15:47 +00:00
|
|
|
ControlGroup=cpu:/
|
2012-01-20 00:08:24 +00:00
|
|
|
-ExecStart=/lib/systemd/systemd-wdmd start
|
|
|
|
-ExecStop=/lib/systemd/systemd-wdmd stop
|
2012-12-03 22:15:47 +00:00
|
|
|
+EnvironmentFile=-/etc/sysconfig/wdmd
|
|
|
|
+ExecStart=/usr/sbin/wdmd $WDMDOPTS
|
|
|
|
+ExecStop=/bin/kill -TERM $MAINPID
|
2012-01-20 00:08:24 +00:00
|
|
|
+ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|