process-exporter 288 B

123456789101112131415
  1. #!/sbin/openrc-run
  2. supervisor=supervise-daemon
  3. name=process-exporter
  4. directory="/home/infra/process-exporter/"
  5. command="${directory}${name}"
  6. command_args="-config.path /etc/process-exporter.yml"
  7. pidfile="/run/$name.pid"
  8. command_user="infra:infra"
  9. depend() {
  10. need net
  11. after firewall
  12. }