symkat/Daemon-Control — Issue #7: Provide some method of setting environment in generated init script
Author: doherty
Created: 2012-03-07 03:54:14+00:00
State: open

If your libraries used are in local lib, the perl script may run fine because your environment is set up so perl will find that lib. However, when the generated init script is run, the environment begins from empty, and local lib won't be discovered. When the init script calls your perl script, it dies, not finding required dependencies.

We should have a way to pass environment variables through the init script for inclusion in the final environment the script runs in.