Ticket #24 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

start-stop-daemon doesn't provide --env

Reported by: Luca Barbato <lu_zero@gentoo.org> Owned by: roy
Priority: trivial Milestone:
Component: rc Version:
Keywords: Cc:

Description

-eenv env-name

Set an environment variable whose name and value is env-name
before starting executable. Example: -e HOME="/home/user"
exports an environment variable whose name is HOME with value
"/home/user".

Change History

comment:107 Changed 3 years ago by roy

  • Status changed from new to resolved
  • Resolution set to fixed

Fixed for the time being.
We'll probably deprecate --env, --chdir and maybe a few other stupid options that can trivially done in the init script (ie, export and cd) in the near future.

Note: See TracTickets for help on using tickets.