aboutsummaryrefslogtreecommitdiff
path: root/roles/monitoring/files
diff options
context:
space:
mode:
Diffstat (limited to 'roles/monitoring/files')
-rw-r--r--roles/monitoring/files/zfs-exporter.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/monitoring/files/zfs-exporter.service b/roles/monitoring/files/zfs-exporter.service
new file mode 100644
index 0000000..8982723
--- /dev/null
+++ b/roles/monitoring/files/zfs-exporter.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=ZFS Exporter
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/zfs_exporter
+LimitNOFILE=infinity
+User=root
+Group=root
+
+[Install]
+WantedBy=multi-user.target