summaryrefslogtreecommitdiff
path: root/nonsystemd/salt-openrc/salt-api.initd
diff options
context:
space:
mode:
Diffstat (limited to 'nonsystemd/salt-openrc/salt-api.initd')
-rw-r--r--nonsystemd/salt-openrc/salt-api.initd14
1 files changed, 14 insertions, 0 deletions
diff --git a/nonsystemd/salt-openrc/salt-api.initd b/nonsystemd/salt-openrc/salt-api.initd
new file mode 100644
index 000000000..27ec4d7a6
--- /dev/null
+++ b/nonsystemd/salt-openrc/salt-api.initd
@@ -0,0 +1,14 @@
+#!/usr/bin/openrc-run
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/bin/salt-api"
+command_args="${SALT_OPTS}"
+command_background="1"
+pidfile="/run/salt-api.pid"
+name="SALT API daemon"
+retry="20"
+
+depend() {
+ use net logger
+}