summaryrefslogtreecommitdiffstats
path: root/python/webiopi.service
diff options
context:
space:
mode:
Diffstat (limited to 'python/webiopi.service')
-rw-r--r--python/webiopi.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/python/webiopi.service b/python/webiopi.service
new file mode 100644
index 0000000..c1f359c
--- /dev/null
+++ b/python/webiopi.service
@@ -0,0 +1,13 @@
1[Unit]
2Description=WebIOPi daemon
3After=syslog.target network.target ntpd.service
4
5[Service]
6Type=simple
7WorkingDirectory=/root/webiopi/python
8Environment=PYTHONPATH=/root/webiopi/python/build/lib.linux-armv6l-2.7
9ExecStart=/usr/bin/python2 -m webiopi -c config
10Restart=on-abort
11
12[Install]
13WantedBy=multi-user.target