diff options
Diffstat (limited to 'app-admin/salt/files/minion-initd-5')
-rw-r--r-- | app-admin/salt/files/minion-initd-5 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app-admin/salt/files/minion-initd-5 b/app-admin/salt/files/minion-initd-5 new file mode 100644 index 000000000000..e3a430b77fa4 --- /dev/null +++ b/app-admin/salt/files/minion-initd-5 @@ -0,0 +1,19 @@ +#!/sbin/openrc-run +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +command="/usr/bin/salt-minion" +command_args="${SALT_OPTS}" +pidfile="/var/run/salt-minion.pid" +command_args_background="--daemon --pid-file=\"${pidfile}\"" +name="SALT minion daemon" +retry="20" + +supervisor=supervise-daemon +output_logger="logger -p daemon.info -t salt-minion.stdout --" +error_logger="logger -p daemon.err -t salt-minion.error --" + +depend() { + need net + use logger +} |