summaryrefslogtreecommitdiff
path: root/nonsystemd/salt-openrc/salt-api.initd
blob: 27ec4d7a67dd92d34fa75431524d73d45975b2cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
}