Skip to content
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

Add timezone as parameter in configuration file #20

Open
snip opened this issue May 25, 2022 · 1 comment
Open

Add timezone as parameter in configuration file #20

snip opened this issue May 25, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@snip
Copy link
Owner

snip commented May 25, 2022

This will allow the nightly reboot to occurs during night on all location.

Or this can be detected approximately from longitude value.

@snip snip added the enhancement New feature or request label May 25, 2022
@snip snip changed the title Add timezone as paaramater for configuration file Add timezone as parameter in configuration file May 25, 2022
@snip
Copy link
Owner Author

snip commented Jun 16, 2022

As a workaround,
in OGN-receiver.conf it is possible to set runAtBoot parameter to update the timezone and request cron service restart.
Example:

runAtBoot="$(timedatectl set-timezone Europe/Paris && service cron restart)" # Allow a specific script to be run at boot time

Europe/Paris needs to be replaced with your expected timezone.

Tips:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant