[Unit] Description=Initialize ECS GPU config # This has to be executed after the kernel modules are loaded # otherwise the userspace component of the driver will fail to # query the /dev devices After=load-kernel-modules.service Requires=load-kernel-modules.service # Block manual interactions with this service. It doesn't # make sense to regenerate the GPU config file if the ECS # agent won't read it when it changes RefuseManualStart=true RefuseManualStop=true [Service] Type=oneshot ExecStart=/usr/bin/ecs-gpu-init RemainAfterExit=true StandardError=journal+console [Install] RequiredBy=preconfigured.target