On a server running OL 7.9 with SystemD 219 we have a custom SystemD service we have something like

[Unit]
Requires=network.target docker.service

[Service]
Restart=always
RestartSec=10
TimeoutSec=300
WorkingDirectory=/data/someapplication
ExecStartPre=<pull a docker image>
ExecStart=<docker-compose up>
ExecStop=<docker-compose stop>
ExecStopPost=<docker-compose down>

[Install]
WantedBy=network-online.target

which does not work. This service leads do several other services (rsyslogd, docker, network-online.target, ...) to be stuck in "start waiting".

My question is why? Is there any obvious misconfiguration in the service above I am too blind to see?

I would highly appreciate any hints!

Cheers,
Ronald

_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to