Skip to content

Commit 6159324

Browse files
committed
fix(systemd): consider the unit to be active
in order to not mislead the end user once the main process is gone. Signed-off-by: Joel Capitao <[email protected]>
1 parent dda4b93 commit 6159324

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deployments/systemd/nvidia-cdi-refresh.service

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ EnvironmentFile=-/etc/nvidia-container-toolkit/nvidia-cdi-refresh.env
2626
ExecCondition=/usr/bin/grep -qE '/nvidia.ko' /lib/modules/%v/modules.dep
2727
ExecStart=/usr/bin/nvidia-ctk cdi generate
2828
CapabilityBoundingSet=CAP_SYS_MODULE CAP_SYS_ADMIN CAP_MKNOD
29+
RemainAfterExit=yes
2930

3031
[Install]
3132
WantedBy=multi-user.target

0 commit comments

Comments
 (0)