twemproxy
twemproxy copied to clipboard
Fix debian init script default loading.
DAEMON_ARGS needs to be set after defaults are loaded to facilitate overrides. The following order is now in place:
- load defaults
- check if daemon is executable
- set DAEMON_ARGS
This change is useful when installing in some other directory prefix other than /opt/nutcracker. I'm using fpm and would like to use the scripts/nutcracker.init.debian init script when packaging.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
Tyler Cross seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.