ansible-role-php/templates/systemd/phpfpm_exporter.service.j2
2023-11-15 12:50:37 +01:00

14 lines
328 B
Django/Jinja

# Ansible managed
[Unit]
Description = PHP-FPM Prometheus Exporter
[Service]
SyslogIdentifier = phpfpm_exporter
ExecStart =/usr/local/bin/phpfpm_exporter --phpfpm.socket-directories={{ phpfpm_exporter_socket_directories }} --web.listen-address="{{ phpfpm_exporter_listen_address }}"
[Install]
WantedBy = multi-user.target