File: service

package info (click to toggle)
prometheus-postfix-exporter 0.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 272 kB
  • sloc: sh: 99; makefile: 12
file content (13 lines) | stat: -rw-r--r-- 439 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Postfix Prometheus Exporter
Documentation=https://github.com/kumina/postfix_exporter man:prometheus-postfix-exporter(1)
After=network.target postfix.service

[Service]
User=prometheus
SupplementaryGroups=systemd-journal postdrop
EnvironmentFile=/etc/default/prometheus-postfix-exporter
ExecStart=/usr/bin/prometheus-postfix-exporter --systemd.enable --postfix.logfile_path="" $ARGS

[Install]
WantedBy=multi-user.target