diff options
| author | Michael Chandler <mchandler89@gmail.com> | 2019-10-06 08:49:14 +1000 |
|---|---|---|
| committer | Michael Chandler <mchandler89@gmail.com> | 2019-10-06 08:49:14 +1000 |
| commit | a51634655cebd9660757360ceff543b273d44bcf (patch) | |
| tree | a90da44b52c02884c436bb9b59ccce15a649379d /readme.md | |
| parent | b8f48b11cb25cb1f1ea77e23e804273894c7c2a2 (diff) | |
Add note about debugging.
Diffstat (limited to 'readme.md')
| -rw-r--r-- | readme.md | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -93,7 +93,7 @@ You can force a redeployment of the service via ECS. [Update the service](https: **How can I change map settings, server settings etc.**
-You'll need to have remote access to the server (refer to Optional Features). You can make whatever changes you want to the configuration in `/opt/factorio/config`. Once done, restart the container using the following command: `sudo docker restart $(docker ps -q --filter name=ecs-factorio)`.
+You'll need to have remote access to the server (refer to Optional Features). You can make whatever changes you want to the configuration in `/opt/factorio/config`. Once done, restart the container using the following command: `sudo docker restart $(docker ps -q --filter ancestor=factoriotools/factorio)`.
**I can no longer connect to my instance via SSH?**
@@ -121,6 +121,13 @@ Be sure to check out factoriotools's repositories on Docker Hub and GitHub. Unle - Docker Hub: https://hub.docker.com/r/factoriotools/factorio/
- GitHub: https://github.com/factoriotools/factorio-docker
+### Basic Docker Debugging
+
+If you SSH onto the server, you can run the following commands for debugging purposes:
+
+* `sudo docker restart $(docker ps -q --filter ancestor=factoriotools/factorio)` - Restart server.
+* `sudo docker logs $(docker ps -q --filter ancestor=factoriotools/factorio)` - Check Factorio container logs.
+
## Thanks
Thanks goes out to [FactorioTools](https://github.com/factoriotools) ([and contributors](https://github.com/factoriotools/factorio-docker/graphs/contributors)) for maintaining the Factorio Docker images.
|
