aboutsummaryrefslogtreecommitdiffstats
path: root/meta-offline-voice-agent/recipes-python/python3-rasa/files/rasa-service.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta-offline-voice-agent/recipes-python/python3-rasa/files/rasa-service.service')
-rw-r--r--meta-offline-voice-agent/recipes-python/python3-rasa/files/rasa-service.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-offline-voice-agent/recipes-python/python3-rasa/files/rasa-service.service b/meta-offline-voice-agent/recipes-python/python3-rasa/files/rasa-service.service
new file mode 100644
index 00000000..7d91032c
--- /dev/null
+++ b/meta-offline-voice-agent/recipes-python/python3-rasa/files/rasa-service.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=RASA Service
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/rasa run --enable-api -m /usr/share/nlu/rasa/models/ -p 51054
+Restart=always
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file