File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 11# NVIDIA Container Toolkit Changelog
22
33## v1.19.0-rc.3
4+ - Remove restart logic from nvidia-cdi-refresh.service.
45- fix: Set device node GID in CDI specs
56- fix: Log actual CDI spec version
67- Make internal/system packages public
Original file line number Diff line number Diff line change @@ -17,9 +17,7 @@ Description=Refresh NVIDIA CDI specification file
1717ConditionPathExists =|/usr/bin/nvidia-smi
1818ConditionPathExists =|/usr/sbin/nvidia-smi
1919ConditionPathExists =/usr/bin/nvidia-ctk
20- # Limit the number of successive restarts to 5 in 10 seconds.
21- StartLimitBurst =5
22- StartLimitIntervalSec =10s
20+ After =multi-user.target
2321
2422[Service]
2523Type =oneshot
@@ -29,10 +27,6 @@ EnvironmentFile=-/etc/nvidia-container-toolkit/nvidia-cdi-refresh.env
2927ExecCondition =/usr/bin/grep -qE '/(nvidia|nvidia-current)\\ .ko' /lib/modules/%v/modules.dep
3028ExecStart =/usr/bin/nvidia-ctk cdi generate
3129CapabilityBoundingSet =CAP_SYS_MODULE CAP_SYS_ADMIN CAP_MKNOD
32- # We set the service to restart on failure to ensure that a CDI spec is
33- # eventually generated.
34- Restart =on-failure
35- RestartSec =1s
3630
3731[Install]
3832WantedBy =multi-user.target
You can’t perform that action at this time.
0 commit comments