1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-13 13:53:53 -05:00

add usage about systemd

ZiliKou
2017-05-31 16:11:24 +08:00
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: "app" user all must ensure that pyenv is present in the PATH:
export PATH=~/.pyenv/shims:~/.pyenv/bin:"$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
```