Skip to content

Unable to start a worker using process monitor s6-overlay #109

@PAXANDDOS

Description

@PAXANDDOS

Hello!
I'm having quite an issue with starting a worker using s6-overlay. It's a process monitor almost like supervisor but created specifically to use inside docker containers.
The worker simply won't start: the queue is not processed and the worker is not getting registered in log files.

/etc/s6-overlay/s6-rc.d/resque/run

#!/command/execlineb -S1

/var/www/app/vendor/bin/resque worker:start --config=/var/www/app/config/queue.yml

Although it does work if ran manually inside the container:

/var/www/app$: vendor/bin/resque worker:start --config=/var/www/app/config/queue.yml
###### or
/var/www/app$: /var/www/app/vendor/bin/resque worker:start --config=/var/www/app/config/queue.yml
###### or
/var/www/app$: /etc/s6-overlay/s6-rc.d/resque/run

I've already made an issue in s6-overlay, please see it for more info: just-containers/s6-overlay#517

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions