diff options
Diffstat (limited to 'nvidia-modprobe.service')
-rw-r--r-- | nvidia-modprobe.service | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nvidia-modprobe.service b/nvidia-modprobe.service index 89b32df0a99c..87959ddbb6db 100644 --- a/nvidia-modprobe.service +++ b/nvidia-modprobe.service @@ -1,11 +1,11 @@ [Unit] -Description=Unload Nvidia modules before shutdown/reboot. +Description=Pre-Shutdown Processes DefaultDependencies=no -After=final.target +Before=shutdown.target reboot.target halt.target [Service] Type=oneshot ExecStart=/usr/bin/modprobe -r nvidia_drm nvidia_modeset nvidia_uvm && /usr/bin/modprobe -r nvidia [Install] -WantedBy=final.target +WantedBy=halt.target reboot.target shutdown.target |