sync roles with changes from OWS
This commit is contained in:
16
roles/php_fpm_exporter/templates/php-fpm_exporter.service.j2
Normal file
16
roles/php_fpm_exporter/templates/php-fpm_exporter.service.j2
Normal file
@@ -0,0 +1,16 @@
|
||||
## Managed by Ansible ##
|
||||
|
||||
[Unit]
|
||||
Description=Prometheus PHP-FPM Exporter
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User={{ php_fpm_exporter_system_user }}
|
||||
Group={{ php_fpm_exporter_system_group }}
|
||||
ExecStart={{ php_fpm_exporter_install_dir }}/php-fpm_exporter server --phpfpm.fix-process-count --phpfpm.scrape-uri unix:{{ php_socket }};/status
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user