summarylogtreecommitdiffstats
path: root/prometheus-zfs-exporter.service
blob: 4cab17b334851fe4040bbdc76f9aae7da451f174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Prometheus exporter for ZFS
Requires=network-online.target
After=network-online.target

[Service]
EnvironmentFile=-/etc/conf.d/prometheus-zfs-exporter
ExecStart=/usr/bin/prometheus-zfs-exporter $ZFS_EXPORTER_ARGS
NoNewPrivileges=yes
ProtectHome=read-only
ProtectSystem=strict

[Install]
WantedBy=multi-user.target