Add 'prometheus-postgresql-exporter/' from commit '69aa9255bb
'
git-subtree-dir: prometheus-postgresql-exporter git-subtree-mainline:72e058bcd0
git-subtree-split:69aa9255bb
This commit is contained in:
commit
c91488a4fe
4 changed files with 94 additions and 0 deletions
|
@ -0,0 +1,26 @@
|
|||
[Unit]
|
||||
Description=Prometheus exporter for PostgreSQL
|
||||
After=network.target
|
||||
|
||||
[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
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue