Am Sonntag 15 Oktober 2023 um 16:47:37 -0000, schrieb Stuart Henderson 0,2K:
> On 2023-10-14, Manuel Kuklinski <m...@asdfghasdfgh.de> wrote:
> > Thank you again - can you possibly direct me in the correct way to "dump
> > the environment"? I guess you don't mean `env`?
> 
> Yes, env - e.g. "(date; env) >> /tmp/env.log

Hi!

O.K., so my first guess wasn't that wrong - I thought there was a more
complex step involved, dumping the environment; maybe a nodejs switch -
sorry for the extra typing...

Nevertheless, that's the result:

# cat /tmp/env.log
Mon Oct 16 14:07:50 CEST 2023
_=/usr/bin/env
INRC=1
HOME=/
PWD=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
Mon Oct 16 14:12:23 CEST 2023
_=/usr/bin/env
LOGNAME=root
TERM=xterm-256color
USER=root
HOME=/root
SHELL=/bin/ksh
PWD=/root
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin

I have no clue what to make of this, since the daemon receives a
SIGTERM, as visible in the debug log of homebridge (can be attached, if
needed). My wild guess would be the missing SHELL?! Help is appreciated
:-/

Kind regards.

Reply via email to