summaryrefslogtreecommitdiff
path: root/app-admin/salt/files/master-initd-5
blob: 13c8ad8922840ecb69dd63604e2cdd2726200b83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/sbin/openrc-run
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

command="/usr/bin/salt-master"
command_args="${SALT_OPTS}"
command_args_background="--daemon --pid-file=\"${pidfile}\""
pidfile="/var/run/salt-master.pid"
name="SALT master daemon"
retry="20"

supervisor=supervise-daemon
output_logger="logger -p daemon.info -t salt-master.stdout --"
error_logger="logger -p daemon.err -t salt-master.error --"

depend() {
	use net logger
}