summaryrefslogtreecommitdiffstats
path: root/števec.service
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2022-10-10 21:25:01 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2022-10-10 21:25:01 +0200
commitd3d88101dc42ea5bd71ba2bf724db7e416a4f9a2 (patch)
tree993f617bda36a28b3e3b9de3502164be33cd06ec /števec.service
parentprvi commit (diff)
downloadštevec-d3d88101dc42ea5bd71ba2bf724db7e416a4f9a2.tar
števec-d3d88101dc42ea5bd71ba2bf724db7e416a4f9a2.tar.gz
števec-d3d88101dc42ea5bd71ba2bf724db7e416a4f9a2.tar.bz2
števec-d3d88101dc42ea5bd71ba2bf724db7e416a4f9a2.tar.lz
števec-d3d88101dc42ea5bd71ba2bf724db7e416a4f9a2.tar.xz
števec-d3d88101dc42ea5bd71ba2bf724db7e416a4f9a2.tar.zst
števec-d3d88101dc42ea5bd71ba2bf724db7e416a4f9a2.zip
Diffstat (limited to 'števec.service')
-rw-r--r--števec.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/števec.service b/števec.service
new file mode 100644
index 0000000..795db96
--- /dev/null
+++ b/števec.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=listens to reports of 1000 imp/kWh power meter counter via UDP
+After=network.target
+
+[Service]
+Type=simple
+DynamicUser=yes
+RuntimeDirectory=števec
+ExecStart=/usr/local/bin/števec
+Restart=no
+
+[Install]
+WantedBy=multi-user.target