summaryrefslogtreecommitdiffstats
path: root/templates/cuda_init.service.j2
blob: c61cbad1de69bd9fa29f919b97ab26b02157734d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Initialize nvidia/cuda devices
Before=slurm.service
DefaultDependencies=no
Conflicts=shutdown.target

[Service]
ExecStart=/usr/local/bin/cuda_init.sh
Type=oneshot
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target