summarylogtreecommitdiffstats
path: root/mycroft-service.service
diff options
context:
space:
mode:
Diffstat (limited to 'mycroft-service.service')
-rw-r--r--mycroft-service.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/mycroft-service.service b/mycroft-service.service
new file mode 100644
index 000000000000..7fe1c3943cd9
--- /dev/null
+++ b/mycroft-service.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Mycroft main service
+After=network.target local-fs.target remote-fs.target
+
+[Service]
+Type=simple
+PermissionsStartOnly=true
+ExecStart=/bin/bash -c "source /usr/share/mycroft-core/.virtualenvs/mycroft/bin/activate && /usr/share/mycroft-core/start.sh service"
+
+[Install]
+WantedBy=multi-user.target