mirror of
https://github.com/pyenv/pyenv.git
synced 2026-09-13 00:56:15 -04:00
add usage about systemd
parent
b94b347c0f
commit
2bbbc9eee6
|
|
@ -16,3 +16,10 @@ Interactive, non-interactive shells, cron jobs, and similar processes for the
|
|||
"app" user all must ensure that pyenv is present in the PATH:
|
||||
|
||||
export PATH=~/.pyenv/shims:~/.pyenv/bin:"$PATH"
|
||||
|
||||
## About systemd
|
||||
If you use systemd, the PATH must be real PATH, not shims:
|
||||
|
||||
```
|
||||
Environment=PATH=/home/$USER/.pyenv/versions/$VERSION/bin:$PATH
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue