Add user mode unit file for the tray client
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Linux Voice Assistant Tray Client
|
||||||
|
# Make sure we have a graphical session
|
||||||
|
After=graphical-session.target
|
||||||
|
Wants=graphical-session.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
WorkingDirectory=/home/pi/linux-voice-assistant
|
||||||
|
ExecStart=/home/pi/linux-voice-assistant/script/tray
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=2
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
|
|
||||||
Reference in New Issue
Block a user