How is server reboot handled? #369
-
I couldn't find any information about this: |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
The app is not automatically restarted on server restarts, you should run a |
Beta Was this translation helpful? Give feedback.
-
@intrip seems like you are wrong. All containers managed with MRSK are started with The only thing that @Fire-Dragon-DoL should take care about is to ensure that Docker service will be started after reboot. On Ubuntu you can check it with |
Beta Was this translation helpful? Give feedback.
-
Yes, if you have your docker service controlled by systemctl.Sent from my iPhoneOn 22 Jul 2023, at 20:52, Francesco Belladonna ***@***.***> wrote:
Would that survive even a server restart?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@Fire-Dragon-DoL - good question and really helpful for me as well. I nearly quit early though because the marked answer is not the same as the right answer (which is much better!) Could you update it when you get a chance? |
Beta Was this translation helpful? Give feedback.
@intrip seems like you are wrong. All containers managed with MRSK are started with
--restart unless-stopped
option, which guarantees that they will be restarted always except to situations when they are manually stopped.The only thing that @Fire-Dragon-DoL should take care about is to ensure that Docker service will be started after reboot. On Ubuntu you can check it with
systemctl list-unit-files | grep docker
. Ifdocker.service
is disabled, you can enable it withsystemctl enable docker.service
.