Run wrapper from systemd unit

This commit is contained in:
Erwin Boskma 2022-09-26 13:18:27 +02:00
parent db45303bb3
commit aeea8a8bd3
Signed by: erwin
GPG key ID: 270B20D17394F7E5

View file

@ -122,7 +122,7 @@
systemd.user.services.sunshine = {
description = "Sunshine is a Gamestream host for Moonlight";
serviceConfig.ExecStart = "${sunshine}/bin/sunshine";
serviceConfig.ExecStart = "${config.security.wrapperDir}/sunshine";
wantedBy = [ "graphical-session.target" ];
};