Daemon-Control icon indicating copy to clipboard operation
Daemon-Control copied to clipboard

Change init file: give all arguments to script

Open LittleFox94 opened this issue 6 years ago • 0 comments

This pull request changes the init file to give all arguments given to it to the actual perl script.

Why?

We use Daemon::Control in a custom script with lots of arguments. We then store most of the arguments in the init code block in form of environment variables. We then use the init scripts as shortcuts for specific configurations, i.e. customer_1_start, customer_2_start or dev_littlefox_start. Sometimes we want to change some arguments from the defaults saved that way and this patch allows us to do this.

LittleFox94 avatar Apr 04 '18 08:04 LittleFox94