fix(sunshine): fix systemd file for missing closing quote (#1226)

This commit is contained in:
Ian C 2024-06-14 11:16:42 -04:00 committed by GitHub
parent a9904e6dd1
commit c89cf0dc53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,7 @@ Type=oneshot
# Copy if it doesn't exist
ExecStartPre=/usr/bin/bash -c "[ -x /usr/local/bin/.sunshine ] || /usr/bin/cp /usr/bin/sunshine /usr/local/bin/.sunshine"
# This is faster than using .mount unit. Also allows for the previous line/cleanup
ExecStartPre=/usr/bin/bash -c "/usr/bin/mount --bind /usr/local/bin/.sunshine /usr/bin/sunshine
ExecStartPre=/usr/bin/bash -c "/usr/bin/mount --bind /usr/local/bin/.sunshine /usr/bin/sunshine"
# Fix caps
ExecStart=/usr/sbin/setcap 'cap_sys_admin+p' /usr/bin/sunshine
# Clean-up after ourselves