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