smebberson / docker-alpine

Docker containers running Alpine Linux and s6 for process management. Solid, reliable containers.
MIT License
596 stars 186 forks source link

Incorrect s6 service restart instructions #7

Closed matthewvalimaki closed 8 years ago

matthewvalimaki commented 8 years ago

At least README.md for alpine-nginx instructs the following to restart nginx:

s6-svc -h /etc/services.d/nginx

However this results in:

s6-svc: fatal: unable to control /etc/services.d/nginx: No such file or directory

The correct command to restart nginx is:

s6-svc -h /var/run/s6/services/nginx/

This results in nginx worker process to be restarted.

smebberson commented 8 years ago

Nice catch. Whoops! It is a left over from migrating from Ubuntu to Alpine Linux. I'll get this one resolved tomorrow too.

smebberson commented 8 years ago

@matthewvalimaki, this has been updated. Thanks again.