A quick first attempt /lib/systemd/system/nvidia-prime.service [Unit] Description=NVIDIA PRIME Power Saving Mode
[Service] ExecStart=/usr/bin/start-nvidia-persistenced ExecStopPost=/sbin/rmmod bbswitch
[Install] WantedBy=graphical.target
It doesn't have any of the conditionals of the original upstart.. and I don't have a prime setup so I have no idea if it actually would work. (I just got tired of dpkg throwing errors about it everytime)
A quick first attempt /lib/systemd/ system/ nvidia- prime.service
[Unit]
Description=NVIDIA PRIME Power Saving Mode
[Service] /usr/bin/ start-nvidia- persistenced /sbin/rmmod bbswitch
ExecStart=
ExecStopPost=
[Install] graphical. target
WantedBy=
It doesn't have any of the conditionals of the original upstart.. and I don't have a prime setup so I have no idea if it actually would work. (I just got tired of dpkg throwing errors about it everytime)