diff options
author | zandemax | 2022-02-28 19:13:14 +0100 |
---|---|---|
committer | zandemax | 2022-02-28 19:13:14 +0100 |
commit | cc1814d2aa78bf0962db8b249fd6390ccc189173 (patch) | |
tree | 99060d3bd5a7dc7d526043ac0aef25847af52c3a /prometheus-postfix-exporter.service | |
download | aur-cc1814d2aa78bf0962db8b249fd6390ccc189173.tar.gz |
Publish initial version 0.3.0
Diffstat (limited to 'prometheus-postfix-exporter.service')
-rw-r--r-- | prometheus-postfix-exporter.service | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/prometheus-postfix-exporter.service b/prometheus-postfix-exporter.service new file mode 100644 index 000000000000..57717e02b001 --- /dev/null +++ b/prometheus-postfix-exporter.service @@ -0,0 +1,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 |