Or something like:
if [ -S /run/chrony/chronyd.sock ]; then
chronyc onoffline
fi
BR,
Matias Herna
> On 14. May 2026, at 2.31, Debian Bug Tracking System <[email protected]>
> wrote:
>
> Thank you for filing a new Bug report with Debian.
>
> You can follow progress on this Bug here: 1136619:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1136619.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
> [email protected]
>
> If you wish to submit further information on this problem, please
> send it to [email protected].
>
> Please do not send mail to [email protected] unless you wish
> to report a problem with the Bug-tracking system.
>
> --
> 1136619: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1136619
> Debian Bug Tracking System
> Contact [email protected] with problems