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

@ -1 +1 @@
Subproject commit afd9a9bbfc6ee1a064b0c1f9210bc20b2170c416 Subproject commit bbf5647402859945dee541a300b22702a2ee9271

View File

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