aboutsummaryrefslogtreecommitdiffstats
path: root/community/salt/salt-api.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/salt/salt-api.initd')
-rw-r--r--community/salt/salt-api.initd13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/salt/salt-api.initd b/community/salt/salt-api.initd
new file mode 100644
index 0000000000..aa62bc2793
--- /dev/null
+++ b/community/salt/salt-api.initd
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/salt/files/api-initd-1,v 1.1 2012/04/24 23:37:27 chutzpah Exp $
+
+command="/usr/bin/salt-api"
+command_args="--daemon ${SALT_OPTS}"
+pidfile="/var/run/salt-api.pid"
+name="SALT api daemon"
+
+depend() {
+ use net
+}