archrelease: copy trunk to extra-x86_64
[arch-packages.git] / prometheus-postgres-exporter / trunk / prometheus-postgres-exporter.service
blob1711a7fe0d3da43f44f54770705d957f6444b1ce
1 [Unit]
2 Description=Prometheus exporter for PostgreSQL
3 After=network.target
5 [Service]
6 EnvironmentFile=-/etc/conf.d/prometheus-postgres-exporter
7 ExecStart=/usr/bin/prometheus-postgres-exporter $POSTGRESQL_EXPORTER_ARGS
8 Restart=on-failure
10 DynamicUser=true
11 ProtectKernelModules=true
12 ProtectKernelTunables=true
13 LockPersonality=true
14 ProtectHostname=true
15 ProtectHome=true
16 ProtectClock=true
17 ProtectControlGroups=true
18 ProtectKernelLogs=true
19 PrivateDevices=true
20 PrivateUsers=true
21 RestrictRealtime=true
22 CapabilityBoundingSet=
23 MemoryDenyWriteExecute=true
25 [Install]
26 WantedBy=multi-user.target