Add example systemd service

This commit is contained in:
Michael Hansen
2019-12-23 18:21:10 -05:00
parent 62626cc6a1
commit 5b60b17dd3
+19
View File
@@ -0,0 +1,19 @@
[Unit]
Description=Rhasspy
After=syslog.target network.target
[Service]
Type=simple
WorkingDirectory=/home/<USER>/path/to/rhasspy
ExecStart=/bin/bash -lc './run-venv.sh --profile <LANGUAGE>'
RestartSec=1
Restart=on-failure
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=rhasspy
[Install]
WantedBy=multi-user.target