diff options
author | Mario Preksavec <mario at slackware dot hr> | 2019-05-18 06:51:33 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-05-18 06:51:33 +0700 |
commit | cfdf1e2c64ae2f7820ae18cc85d051929fb74873 (patch) | |
tree | 76afb167a0e95992ae0c8c7d7b9a7de02a797555 /system/sanlock/README.SLACKWARE | |
parent | 05d40c537c6ca330a720cba131c184e24d081d7d (diff) |
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.SLACKWARE | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/system/sanlock/README.SLACKWARE b/system/sanlock/README.SLACKWARE new file mode 100644 index 0000000000000..aa2f6ea006d6f --- /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 |