summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-05-07 02:49:33 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-05-07 02:49:33 +0300
commitb8cb339ad933431700e2b797299f605aa66c543a (patch)
treef3ac06b99ab02ba76af25068fbbabe317307cb0a
parentc8a493b9434b521b806d7db57f606817a2f82782 (diff)
systemd: add inverterd service file
-rw-r--r--systemd/inverterd.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/systemd/inverterd.service b/systemd/inverterd.service
new file mode 100644
index 0000000..0718be7
--- /dev/null
+++ b/systemd/inverterd.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=inverterd
+After=network.target
+
+[Service]
+Restart=on-failure
+ExecStart=/usr/local/bin/inverterd --host 0.0.0.0
+
+[Install]
+WantedBy=multi-user.target