summarylogtreecommitdiffstats
path: root/prometheus-remo-e-exporter.service
diff options
context:
space:
mode:
authorSorah Fukumori2020-05-23 23:57:45 +0900
committerSorah Fukumori2020-05-23 23:57:45 +0900
commit17fee105a7c0066bed3abbe177e0011fee9b5b9a (patch)
treecacf5a302d8a57a3ba9b35c6385a3d7293b28d17 /prometheus-remo-e-exporter.service
downloadaur-17fee105a7c0066bed3abbe177e0011fee9b5b9a.tar.gz
initial import
Diffstat (limited to 'prometheus-remo-e-exporter.service')
-rw-r--r--prometheus-remo-e-exporter.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/prometheus-remo-e-exporter.service b/prometheus-remo-e-exporter.service
new file mode 100644
index 000000000000..c53dc1703c0e
--- /dev/null
+++ b/prometheus-remo-e-exporter.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=Prometheus Nature Remo E series exporter
+After=network.target
+
+[Service]
+Type=simple
+User=nobody
+Group=nobody
+NoNewPrivileges=true
+ProtectHome=true
+ProtectSystem=strict
+Restart=on-failure
+ExecStart=/usr/bin/prometheus-remo-e-exporter
+EnvironmentFile=-/etc/conf.d/prometheus-remo-e-exporter
+
+[Install]
+WantedBy=multi-user.target
+