canonical / nvidia-graphics-drivers

Packaging scripts for nvidia-graphics-drivers in Ubuntu
43 stars 34 forks source link

Update udev rules and systemd service #34

Closed khfeng closed 5 years ago

khfeng commented 5 years ago
tseliot commented 5 years ago

Thanks!

tseliot commented 5 years ago

I also added the following, or your change to debian/nvidia-compute-utils-430.nvidia-persistenced.service will be overwritten, when generated from debian/templates/nvidia-compute-utils-flavour.nvidia-persistenced.service.in:

index 5062a09..6ddf3b0 100644
--- a/debian/templates/nvidia-compute-utils-flavour.nvidia-persistenced.service.in
+++ b/debian/templates/nvidia-compute-utils-flavour.nvidia-persistenced.service.in
@@ -1,6 +1,7 @@
 [Unit]
 Description=NVIDIA Persistence Daemon
 Wants=syslog.target
+StopWhenUnneeded=true

 [Service]
 Type=forking

This is also part of the new "430" branch now.

khfeng commented 5 years ago

Didn't spot this, thanks!