arch-packages/prometheus-postgresql-exporter.service

27 lines
585 B
SYSTEMD
Raw Normal View History

2017-10-18 12:34:20 +02:00
[Unit]
Description=Prometheus exporter for PostgreSQL
After=network.target
2021-01-24 21:51:38 +01:00
[Service]
EnvironmentFile=-/etc/conf.d/prometheus-postgresql-exporter
ExecStart=/usr/bin/prometheus_postgresql_exporter $POSTGRES_EXPORTER_ARGS
Restart=on-failure
DynamicUser=true
ProtectKernelModules=true
ProtectKernelTunables=true
LockPersonality=true
ProtectHostname=true
ProtectHome=true
ProtectClock=true
ProtectControlGroups=true
ProtectKernelLogs=true
PrivateDevices=true
PrivateUsers=true
RestrictRealtime=true
CapabilityBoundingSet=
MemoryDenyWriteExecute=true
2017-10-18 12:34:20 +02:00
[Install]
WantedBy=multi-user.target