salt-api.initd 301 B

123456789101112131415
  1. #!/usr/bin/openrc-run
  2. # Copyright 1999-2015 Gentoo Foundation
  3. # Distributed under the terms of the GNU General Public License v2
  4. command="/usr/bin/salt-api"
  5. command_args="${SALT_OPTS}"
  6. command_background="1"
  7. pidfile="/run/salt-api.pid"
  8. name="SALT API daemon"
  9. retry="20"
  10. depend() {
  11. use net logger
  12. }