summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2013-12-26 03:29:24 +0100
committermanuel <manuel@mausz.at>2013-12-26 03:29:24 +0100
commit70d41a270bfd8cb96718cd6a46f6b04ced94eed7 (patch)
tree6f7e1cfbe8bdc4d25c06a3f27e4eb8397523ae6b
parent81ec4a790179f49d53a2a13d59666e753fe66b42 (diff)
downloadwebiopi-70d41a270bfd8cb96718cd6a46f6b04ced94eed7.tar.gz
webiopi-70d41a270bfd8cb96718cd6a46f6b04ced94eed7.tar.bz2
webiopi-70d41a270bfd8cb96718cd6a46f6b04ced94eed7.zip
add systemd.service file
-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