-
-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for 772 and 773 #774
Fix for 772 and 773 #774
Conversation
Build logs of d243267: |
Found a new funny one, server only launches with old app id but old app id is dead. So i switch the app id right before launch. building canary now to test |
I'm trying again with cd15943. |
cd15943 starts now! But entering the console with gosu (and maybe the cronjob?) doesn't work:
There is another problem with the updater now:
|
You shouldnt need gosu anymore, just exec into the container and it takes you in as steam user |
That's what I thought and did. But there is the cron setup in the entrypoint.sh that won't work anymore. |
src/scripts/entrypoint.sh
Outdated
> "/etc/cron.d/${CRON_NAME}" | ||
echo "" >> "/etc/cron.d/${CRON_NAME}" | ||
| sudo tee "/etc/cron.d/${CRON_NAME}" | ||
echo "" | sudo tee -a "/etc/cron.d/${CRON_NAME}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@FooDeas this line sets the cron script as root, the gosu should still work for the crons. ill setup some crons for tonight and let em run
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. I thought from the wrong user context.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You were right on the call out! im reworking the cron system rn
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting. I was confused by the "sudo tee" statements writing the cron files. Based on this, I wrongly concluded that it is now in the Steam user context. After your hint, I also would have expected that there would be no problems. 😮
Alrrirght @FooDeas thiissssss should work :) all features tested locally |
Looks good! I can test it and give you feedback tomorrow, if you want. |
It now works without any problems! |
Description
Contributions
Checklist