blob: 143abbdaed5dcd728c3e5e93403a5b5a65869aa1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
[Unit]
Description=Prometheus Exporter for AdguardHome metrics
Requires=network-online.target
After=network-online.target
[Service]
User=adguard_exporter
Group=adguard_exporter
Restart=on-failure
EnvironmentFile=-/etc/conf.d/prometheus-adguard-exporter
ExecStart=/usr/bin/prometheus-adguard-exporter $ADGUARD_EXPORTER_ARGS
ExecReload=/bin/kill -HUP $MAINPID
NoNewPrivileges=true
ProtectHome=read-only
ProtectSystem=strict
[Install]
WantedBy=multi-user.target
|