aboutsummaryrefslogtreecommitdiff
path: root/roles/monitoring/files
diff options
context:
space:
mode:
authorKumar Damani <me@kumardamani.net>2023-01-04 20:49:30 +0000
committerKumar Damani <me@kumardamani.net>2023-01-04 20:49:30 +0000
commit3659a750ee669b87c9f363a6b7ab2660917f8d39 (patch)
treefdf5c866bea3686d01b5427e9bda1b3ed080cbfe /roles/monitoring/files
parent6c8156a62ee472e5ecefdc1bc3f97b4dd8a72b68 (diff)
parent4352c2b692b66119acd1155f150cd3071eb11310 (diff)
Merge branch 'adguard' into 'master'
Adguard See merge request kdam0/vps!3
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