From 70d41a270bfd8cb96718cd6a46f6b04ced94eed7 Mon Sep 17 00:00:00 2001 From: manuel Date: Thu, 26 Dec 2013 03:29:24 +0100 Subject: add systemd.service file --- python/webiopi.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 python/webiopi.service 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 @@ +[Unit] +Description=WebIOPi daemon +After=syslog.target network.target ntpd.service + +[Service] +Type=simple +WorkingDirectory=/root/webiopi/python +Environment=PYTHONPATH=/root/webiopi/python/build/lib.linux-armv6l-2.7 +ExecStart=/usr/bin/python2 -m webiopi -c config +Restart=on-abort + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3