summaryrefslogtreecommitdiffstats
path: root/system/sanlock/README.SLACKWARE
diff options
context:
space:
mode:
author Mario Preksavec2019-05-18 01:51:33 +0200
committer Willy Sudiarto Raharjo2019-05-18 01:51:33 +0200
commitcfdf1e2c64ae2f7820ae18cc85d051929fb74873 (patch)
tree76afb167a0e95992ae0c8c7d7b9a7de02a797555 /system/sanlock/README.SLACKWARE
parent05d40c537c6ca330a720cba131c184e24d081d7d (diff)
downloadslackbuilds-cfdf1e2c64ae2f7820ae18cc85d051929fb74873.tar.gz
system/sanlock: Added (shared storage daemon).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/sanlock/README.SLACKWARE')
-rw-r--r--system/sanlock/README.SLACKWARE26
1 files changed, 26 insertions, 0 deletions
diff --git a/system/sanlock/README.SLACKWARE b/system/sanlock/README.SLACKWARE
new file mode 100644
index 0000000000..aa2f6ea006
--- /dev/null
+++ b/system/sanlock/README.SLACKWARE
@@ -0,0 +1,26 @@
+Starting the daemon on boot
+---------------------------
+
+You may wish to add these lines to /etc/rc.d/rc.local to start the service:
+
+ if [ -x /etc/rc.d/rc.wdmd ]; then
+ /etc/rc.d/rc.wdmd start
+ fi
+
+ if [ -x /etc/rc.d/rc.sanlock ]; then
+ /etc/rc.d/rc.sanlock start
+ fi
+
+You may also add these lines to /etc/rc.d/rc.local_shutdown:
+
+ if [ -x /etc/rc.d/rc.sanlock ]; then
+ /etc/rc.d/rc.sanlock stop
+ fi
+
+ if [ -x /etc/rc.d/rc.wdmd ]; then
+ /etc/rc.d/rc.wdmd stop
+ fi
+
+Remember to give executable permission to /etc/rc.d/rc.local_shutdown:
+
+ chmod 0755 /etc/rc.d/rc.local_shutdown