Skip to content

Commit 430fbbc

Browse files
authored
Merge pull request #6 from acme-software/bugfix/fixed_upstart_script
added bash wrapper to terminate su command
2 parents 0293467 + 0ccd1c8 commit 430fbbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/service/upstart.conf.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ end script
3737
{% endif %}
3838

3939
# Execute deploy_service_start_command and log stdout
40-
exec su -c "{{ deploy_service_start_command }} {% if deploy_log_stdout == True %}>>{{ deploy_log_stdout_path }}{% endif %}" {{ deploy_app_user }} --pid $PIDFILE
40+
exec su -c "{{ deploy_service_start_command }} {% if deploy_log_stdout == True %}>>{{ deploy_log_stdout_path }}{% endif %}" {{ deploy_app_user }} -- --pid $PIDFILE

0 commit comments

Comments
 (0)