summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/sanlock/files/sanlock.initd')
-rw-r--r--sys-cluster/sanlock/files/sanlock.initd9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys-cluster/sanlock/files/sanlock.initd b/sys-cluster/sanlock/files/sanlock.initd
new file mode 100644
index 000000000000..30a5c1e56fd1
--- /dev/null
+++ b/sys-cluster/sanlock/files/sanlock.initd
@@ -0,0 +1,9 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+pidfile="/var/run/snlock.pid"
+command="/usr/sbin/snlock"
+command_args="daemon ${SANLOCKOPTS:-"-U sanlock -G sanlock"}"
+