Closed michaelkirk closed 9 years ago
Addresses this in https://github.com/jackpine/biketag-ops/tree/master/services
There is an api and a db service (systemd).
Restarts are not currently managed - maybe due to system expecting whatever command it runs to represent the foreground process of your services. However, docker start
returns as soon as the container is started, it doesn't latch onto the process, thus there is nothing for systemd to monitor.
Maybe related: https://github.com/coreos/fleet/issues/940
A couple of times my host has been rebooted. Since I never set up services, this results in the api/db not getting restarted. These should be starting automatically on startup.