mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
Change service-type for nvidia.service
When changed to oneshot, the subsequent services wiill actually wait for the nvidia.service to finish, i.e. wait for drivers to be installed. The subsequent services can be configured to wait for nvidia.service. This needs to be coupled with RemainAfterExit=yes to ensure it doesn't get kicked-off automatically again. https://github.com/flatcar/Flatcar/issues/1136
This commit is contained in:
parent
ea13478e31
commit
6ab96b89f8
@ -4,7 +4,8 @@ Wants=network-online.target
|
||||
After=network-online.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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user