Let's say that I have a oneshot that depends on several longrun services.
I can define all the longrun services and then add the dependencies.d for the oneshot, and once the oneshot is done, I'd like the container to halt and return the exitcode of the oneshot.
Let's say that I have a oneshot that depends on several longrun services.
I can define all the longrun services and then add the
dependencies.d
for the oneshot, and once the oneshot is done, I'd like the container to halt and return the exitcode of the oneshot.I tried having a oneshot like so:
But it seems that this always exits with exit code 100 and I'm not sure why?