OCaml 4.14.0 rebuild
[arch-packages.git] / prometheus-mysqld-exporter / repos / extra-x86_64 / prometheus-mysqld-exporter.service
blob8313d42b6a53f261fe577538afab67caa7b057a3
1 [Unit]
2 Description=Prometheus exporter for MySQL server metrics
3 After=network.target
5 [Service]
6 EnvironmentFile=-/etc/conf.d/prometheus-mysqld-exporter
7 ExecStart=/usr/bin/prometheus-mysqld-exporter $MYSQLD_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