summarylogtreecommitdiffstats
path: root/froniusd.service
diff options
context:
space:
mode:
Diffstat (limited to 'froniusd.service')
-rw-r--r--froniusd.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/froniusd.service b/froniusd.service
new file mode 100644
index 000000000000..57bed825a941
--- /dev/null
+++ b/froniusd.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=Fronius SunSpec energy meter
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/froniusd -c /etc/froniusd.conf
+User=solarmeter
+Group=solarmeter
+NoNewPrivileges=yes
+ProtectSystem=full
+ProtectHome=true
+PrivateTmp=true
+Restart=always
+RestartSec=3
+
+[Install]
+WantedBy=multi-user.target