- edited description
Environment Variable HOME not set
Issue #457
resolved
when monit starts a process with "as uid" option, the variable HOME is not set. This behavior differs from cron which sets the variable. Some programs (e.g. X11) evaluate this variable.
Example:
check process conat with PIDFILE /home/mba/...
start program = "..." as uid "mba"
monit -V
This is Monit version 5.18
cat /etc/*-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=17.3
DISTRIB_CODENAME=rosa
DISTRIB_DESCRIPTION="Linux Mint 17.3 Rosa"
NAME="Ubuntu"
VERSION="14.04.4 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.4 LTS"
Comments (2)
-
repo owner -
repo owner - changed status to resolved
fixed Issue
#457: Update HOME environment variable when executing program as other user.→ <<cset 801cd01c4b72>>
- Log in to comment