dot-files/prometheus/exporters/etc/systemd/system/prometheus-apache-exporter....

16 lines
345 B
SYSTEMD
Raw Normal View History

2021-07-02 14:23:06 +02:00
[Unit]
Description=Prometheus exporter for Apache
Documentation=https://github.com/Lusitaniae/apache_exporter
Wants=network-online.target
After=network-online.target
[Service]
User=root
Group=root
Type=simple
EnvironmentFile=/etc/default/prometheus-apache-exporter
ExecStart=/usr/bin/apache_exporter $ARGS
[Install]
WantedBy=multi-user.target