aboutsummaryrefslogtreecommitdiffstats
path: root/glutte_serial_web.unit.example
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-09-11 00:46:35 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-09-11 00:46:35 +0200
commitd381c117e8ac5986805ede5db2beca273b967e2f (patch)
tree820eb79e3e4c79d4141bac207fd1bbe1303ba7ae /glutte_serial_web.unit.example
parent4b91a46bc960cca599cbeb5549f7c96e043a8292 (diff)
downloadglutte-serial-web-d381c117e8ac5986805ede5db2beca273b967e2f.tar.gz
glutte-serial-web-d381c117e8ac5986805ede5db2beca273b967e2f.tar.bz2
glutte-serial-web-d381c117e8ac5986805ede5db2beca273b967e2f.zip
Add example systemd unit file
Diffstat (limited to 'glutte_serial_web.unit.example')
-rw-r--r--glutte_serial_web.unit.example10
1 files changed, 10 insertions, 0 deletions
diff --git a/glutte_serial_web.unit.example b/glutte_serial_web.unit.example
new file mode 100644
index 0000000..cbc86db
--- /dev/null
+++ b/glutte_serial_web.unit.example
@@ -0,0 +1,10 @@
+[Unit]
+Description=glutte serial monitor web server
+After=syslog.target network.target
+
+[Service]
+Type=simple
+User=glutte
+WorkingDirectory=/home/glutte/glutte-serial-web
+ExecStart=/home/glutte/glutte-serial-web/bin/python /home/glutte/glutte-serial-web/glutte_serial_web.py
+