diff options
Diffstat (limited to 'internal/tmpl/rc.d.tmpl')
| -rw-r--r-- | internal/tmpl/rc.d.tmpl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/tmpl/rc.d.tmpl b/internal/tmpl/rc.d.tmpl index db940fd..134152e 100644 --- a/internal/tmpl/rc.d.tmpl +++ b/internal/tmpl/rc.d.tmpl @@ -14,4 +14,11 @@ command="/usr/sbin/daemon" command_args="-P ${pidfile} -r -t {{.Name}} /app/current/app" load_rc_config $name + +if [ -r /app/env ]; then + set -a + . /app/env + set +a +fi + run_rc_command "$1" |
