Skip to content

Instantly share code, notes, and snippets.

@robophil
Last active January 23, 2018 22:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robophil/3e985d93c1f8debd3abdda136ce43982 to your computer and use it in GitHub Desktop.
Save robophil/3e985d93c1f8debd3abdda136ce43982 to your computer and use it in GitHub Desktop.
cuda
export PATH=/usr/local/cuda-9.1/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-9.1/lib64\${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
@robophil
Copy link
Author

I was trying to tell you that they should each be on a new line

@robophil
Copy link
Author

[Unit]
Description=NVIDIA Persistence Daemon
Wants=syslog.target

[Service]
Type=forking
PIDFile=/var/run/nvidia-persistenced/nvidia-persistenced.pid
Restart=always
ExecStart=/usr/bin/nvidia-persistenced --verbose
ExecStopPost=/bin/rm -rf /var/run/nvidia-persistenced

[Install]
WantedBy=multi-user.target

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment