-
-
Notifications
You must be signed in to change notification settings - Fork 844
[Bug]: Docker already has an entry in Crontab #4745
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
Comments
Which image are you using? I couldn't find any cron entries on the latest GHCR build. |
Maybe it's because I'm using the Docker Hub image?: services:
linuxgsm-pmc-bind:
image: gameservermanagers/gameserver:pmc
# image: ghcr.io/gameservermanagers/gameserver:pmc Here's a video showing the latest image. |
Never mind, you're right! I was entering the container without specifying the I agree that having only the docker images preconfigured to update every hour is pretty weird. I've made a PR for this, hopefully it gets merged! |
I was certain there are other crontab -related issues already, and there are. At least #4584 and #4508 . IIRC I've seen some discussion in another issue somewhere but can not find it ATM (EDIT: realized the latter has nothing to do with the docker images per se). I'm mentioning these here so that everyone is up to date on the feature / issues and pull requests, so that perhaps a common fix can be found. I agree the default crontab entry needs to go. It is intrusive, as it interrupts gameplay on servers which do not need to be on the bleeding edge and get frequent updates. The users should decide. Currently, I run 'crontab -r' after each reboot and update of the image, but I feel I should not need to. |
User story
I want the crontab entry to be removed so users are able to set their own wihtout having to remove/comment it out every time the container is restarted.
Game
PaperMC
Linux distro
Ubuntu 22.04
Command
command: update
Further information
There is a cron entry in the container by default:
I don't know if this is intentional, but it is very annoying because I'd like to set my own update interval without having to modify the actual application code. I didn't think it was necessary to make an issue for such a small problem. Thanks!
Relevant log output
No response
Steps to reproduce
The text was updated successfully, but these errors were encountered: