Merge pull request #1047 from shsamkit/main

Changes to nvidia.service to allow ordering on the subsequent services
This commit is contained in:
Dongsu Park 2023-08-10 16:44:41 +02:00 committed by GitHub
commit 393d94f2a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1 @@
- Change nvidia.service to type oneshot (from the default "simple") so the subsequent services (configured with "Requires/After") are executed after the driver installation is successfully finished (flatcar/Flatcar#1136)

View File

@ -2,9 +2,11 @@
Description=NVIDIA Configure Service
Wants=network-online.target
After=network-online.target
Before=containerd.target
[Service]
Type=simple
Type=oneshot
RemainsAfterExit=true
Restart=no
Environment=PATH=/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
ExecStart=/usr/lib/nvidia/bin/setup-nvidia