Add an autorestart count to the steam.ini

This allows this container to start up before X is ready on the main container and restart the process until it becomes available.
Each restart will have a small delay of a few seconds. So 50 attempts should be a few mins.
This commit is contained in:
Josh.5
2022-08-06 13:38:03 +12:00
parent 576bf9471c
commit 4f1a693b88

View File

@@ -3,6 +3,10 @@
[program:steam]
autostart=false
autorestart=true
# Retry a restart a few times.
# This allows this container to start up before X is ready and restart the process until it becomes available.
# Each restart will have a small delay of a few seconds. So 50 attempts should be a few mins.
startretries=50
priority=50
user=%(ENV_USER)s
directory=/home/%(ENV_USER)s