Skip to content

This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!


chrony

TODO

Reference(s)

Table of contents


Install

# apt add chrony
# apt install chrony
# dnf install chrony
# emerge -a sys-process/chrony
# nix-env -iA nixos.chrony
# nix-env -iA nixpkgs.chrony
# pacman -S chrony

For Artix users

  • If using dinit:
    # pacman -S chrony chrony-dinit
    
  • If using openrc:
    # pacman -S chrony chrony-openrc
    
  • If using runit:
    # pacman -S chrony chrony-runit
    
  • If using s6:
    # pacman -S docker chrony-s6
    
# yum install chrony
# xbps-install -S chrony
# zypper install chrony

Config

# rc-update add chrony default
# rc-service chrony start

Depending on your runit implementation, either run:

# ln -s /etc/runit/sv/chrony /service
or run:
# ln -s /etc/runit/sv/chrony /var/service
or run:
# ln -s /etc/runit/sv/chrony /run/runit/service
In any case, finally run:
# sv up chrony

# service chrony start
# chkconfig chrony on
# systemctl enable chrony
# systemctl start chrony

TODO


Use

TODO


If this cheat sheet has been useful to you, then please consider leaving a star here.