You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "ChristophBaierATB (via GitHub)" <gi...@apache.org> on 2023/08/18 11:56:45 UTC
[GitHub] [apisix-docker] ChristophBaierATB commented on issue #470: nginx: [emerg] bind() to unix:/usr/local/apisix/conf/config_listen.sock failed (98: Address already in use)
ChristophBaierATB commented on issue #470:
URL: https://github.com/apache/apisix-docker/issues/470#issuecomment-1683811593
Here is an automated workaround that should allow the apisix container to start on the next boot after a crash:
```bash
crontab -e
```
Add the line:
```
@reboot /usr/bin/docker rm -f apisix; cd /root/apisix && /usr/bin/docker-compose --profile prod up -d
```
... where `/root/apisix` is the directory containing docker-compose.yml. Paths and container names may vary depending on your setup.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org