2024-04-17, 10:47 PM
(This post was last modified: 2024-04-17, 10:48 PM by Terence-D. Edited 1 time in total.)
Thanks for the link DreadPirate, that got me on the right path.
In case anyone ever finds this post in the future, here's the service I created under /etc/systemd/system. Tested on a reboot everything came up properly:
Enabled with:
In case anyone ever finds this post in the future, here's the service I created under /etc/systemd/system. Tested on a reboot everything came up properly:
Code:
[Unit]
Description=Nvidia Kernel Modules
After=network.target local-fs.target
Before=containerd.service docker.service
[Service]
Type=oneshot
ExecStart=/usr/bin/nvidia-container-cli --load-kmods info
TimeoutStopSec=10
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target containerd.service docker.service
Enabled with:
Code:
sudo systemctl enable nvidiamods.service