[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: start-stop-daemon: how to pass environment variables to the daemon

man start-stop-daemon: "Any arguments given after -- on the command line
are passed unmodified to the program being started."

I mean the environment variables that will be recognized by the invoked daemon.  I have solved this by adding NAME=xxx pairs preceding start-stop-daemon:

VAR1=xxx VAR2=xxx VAR3=xxx  start-stop-daemon ...

Adding variables in /etc/default/@DAEMON@ can not solve my issue.

Best regards,


Reply to: