aboutsummaryrefslogtreecommitdiffstats
path: root/community/salt/salt-minion.initd
diff options
context:
space:
mode:
authorChloe Kudryavtsev <toast@toastin.space>2019-05-27 19:56:55 -0400
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-28 07:50:43 +0000
commit44480ccd6a2ef213c11033e8009b76322f1390f9 (patch)
tree1e045c314b420324956f470b058b61b28d40cd49 /community/salt/salt-minion.initd
parent5ee85c4acc6b41728a0dd6408b7e8023a17668a9 (diff)
downloadaports-44480ccd6a2ef213c11033e8009b76322f1390f9.tar.gz
aports-44480ccd6a2ef213c11033e8009b76322f1390f9.tar.bz2
aports-44480ccd6a2ef213c11033e8009b76322f1390f9.tar.xz
community/salt: modernize master and minion init
Diffstat (limited to 'community/salt/salt-minion.initd')
-rw-r--r--community/salt/salt-minion.initd15
1 files changed, 4 insertions, 11 deletions
diff --git a/community/salt/salt-minion.initd b/community/salt/salt-minion.initd
index 9cfac01e38..b86d824ba8 100644
--- a/community/salt/salt-minion.initd
+++ b/community/salt/salt-minion.initd
@@ -1,13 +1,6 @@
#!/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/minion-initd-1,v 1.1 2012/04/24 23:37:27 chutzpah Exp $
+supervisor=supervise-daemon
-command="/usr/bin/salt-minion"
-command_args="--daemon ${SALT_OPTS}"
-pidfile="/var/run/salt-minion.pid"
-name="SALT minion daemon"
-
-depend() {
- need net
-}
+name='SaltStack Minion'
+command='/usr/bin/salt-minion'
+command_args="${SALT_OPTS}"