aboutsummaryrefslogtreecommitdiffstats
path: root/community/salt/salt-api.initd
diff options
context:
space:
mode:
authorOlivier Mauras <olivier@mauras.ch>2016-09-07 23:23:12 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-09-16 00:44:21 +0200
commit1fa6b2eb53bf56460a16c768109a956689a37f98 (patch)
tree8680e9fcdd6de01ee5a6b5f5f337d177d94f9677 /community/salt/salt-api.initd
parent14060b55ac33e3a4fe45153d67fc7abef14f22a4 (diff)
downloadaports-1fa6b2eb53bf56460a16c768109a956689a37f98.tar.gz
aports-1fa6b2eb53bf56460a16c768109a956689a37f98.tar.bz2
aports-1fa6b2eb53bf56460a16c768109a956689a37f98.tar.xz
community/salt: update to 2016.3.3 and refactor based on official SRPM
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
+}