minor modification for sunshine.service

This commit is contained in:
loki
2021-05-10 01:02:24 +02:00
parent 30496c79ab
commit 9c41972b65
2 changed files with 2 additions and 3 deletions

View File

@ -2,8 +2,7 @@
Description=Sunshine Gamestream Server for Moonlight
[Service]
ExecStartPre=/bin/sh -c "test -d %E/sunshine || cp -r '@SUNSHINE_ASSETS_DIR@' '%E/sunshine'"
ExecStart=@SUNSHINE_EXECUTABLE_PATH@ %E/sunshine/sunshine.conf
ExecStart=@SUNSHINE_EXECUTABLE_PATH@
[Install]
WantedBy=graphical-session.target