From 2bbbc9eee662486cfdf3f5d6b9bb2747de8f3113 Mon Sep 17 00:00:00 2001 From: ZiliKou Date: Wed, 31 May 2017 16:11:24 +0800 Subject: [PATCH] add usage about systemd --- Deploying-with-pyenv.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Deploying-with-pyenv.md b/Deploying-with-pyenv.md index 2c5f207..b68db75 100644 --- a/Deploying-with-pyenv.md +++ b/Deploying-with-pyenv.md @@ -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 +```