summarylogtreecommitdiffstats
path: root/webthings-gateway-intent-parser.service
diff options
context:
space:
mode:
Diffstat (limited to 'webthings-gateway-intent-parser.service')
-rw-r--r--webthings-gateway-intent-parser.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/webthings-gateway-intent-parser.service b/webthings-gateway-intent-parser.service
new file mode 100644
index 000000000000..e661934deaf9
--- /dev/null
+++ b/webthings-gateway-intent-parser.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Mozilla WebThings Gateway Intent Parser
+After=network.target
+
+[Service]
+Type=simple
+StandardOutput=journal
+StandardError=journal
+User=webthings
+WorkingDirectory=/opt/webthings-gateway/intent-parser
+ExecStart=/opt/webthings-gateway/intent-parser/intent-parser-server.py
+Restart=always
+RestartSec=10s
+
+[Install]
+WantedBy=multi-user.target