Skip to content

Commit 5eee5ce

Browse files
committed
fix: Remove dependency on multi-user.target
This change removes the dependency of the nvidia-cdi-refresh.service on the multi-user.target. Although this worked for some cases, it is too narrow to be generally applicable. Users with more complex configurations should define their own dependencies on the nvidia-cdi-refresh.service to ensure that CDI spec generation is triggered at the correct time during system boot. Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent ec7b4e2 commit 5eee5ce

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

deployments/systemd/nvidia-cdi-refresh.service

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ Description=Refresh NVIDIA CDI specification file
1717
ConditionPathExists=|/usr/bin/nvidia-smi
1818
ConditionPathExists=|/usr/sbin/nvidia-smi
1919
ConditionPathExists=/usr/bin/nvidia-ctk
20-
After=multi-user.target
2120

2221
[Service]
2322
Type=oneshot

0 commit comments

Comments
 (0)