ansible-role-php/templates/systemd/phpfpm_exporter.service.j2

14 lines
328 B
Text
Raw Normal View History

2023-11-15 12:32:00 +01:00
# 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