summarylogtreecommitdiffstats
path: root/prometheus-postfix-exporter.service
blob: 57717e02b0016a9beab8a0f7ce179face280c8e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[Unit]
Description=Prometheus Postfix Exporter
After=network.target

[Service]
ExecStart=/usr/bin/prometheus-postfix-exporter --systemd.enable
ExecReload=/bin/kill -HUP $MAINPID
DynamicUser=true
SupplementaryGroups=postdrop

NoNewPrivileges=true
ProtectSystem=full
ProtectKernelModules=true
ProtectKernelTunables=true
PrivateTmp=true
LockPersonality=true
ProtectHostname=true
ProtectHome=true
ProtectControlGroups=true
ProtectKernelLogs=true
PrivateDevices=true
RestrictRealtime=true
CapabilityBoundingSet=
MemoryDenyWriteExecute=true

[Install]
WantedBy=multi-user.target