aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <jaseg@jaseg.net>2014-03-07 03:51:31 +0100
committerjaseg <jaseg@jaseg.net>2014-03-07 03:51:31 +0100
commit3ba0aedf5ecbfe6ed4a2b85d0d55ecfffc372e08 (patch)
tree3eb7426c0169bd1f580f06e5e2ed3035b5ef0b95
parent39884b49ed4e9917ef7d64962070c68f6908fb5f (diff)
downloadmatelight-3ba0aedf5ecbfe6ed4a2b85d0d55ecfffc372e08.tar.gz
matelight-3ba0aedf5ecbfe6ed4a2b85d0d55ecfffc372e08.tar.bz2
matelight-3ba0aedf5ecbfe6ed4a2b85d0d55ecfffc372e08.zip
systemd service file added
-rw-r--r--host/matelight.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/host/matelight.service b/host/matelight.service
new file mode 100644
index 0000000..7592791
--- /dev/null
+++ b/host/matelight.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=MateLight Server
+
+[Service]
+WorkingDirectory=/root/matelight/host
+ExecStart=/root/matelight/host/server.py
+Type=simple
+
+[Install]
+WantedBy=multi-user.target