Timedate Daemon

Timedate daemon to control org.freedesktop.timedate1 D-Bus interface

18 Commits   0 Branches   3 Tags

Timedate Daemon

TimeDate Daemon is a system service that can be used to control the system time and related settings.

This is the replacement of systemd service that control the org.freedesktop.timedate1 D-Bus interface for GNU Linux distributions which does not have a systemd.

You can find specification at: Freedesktop.org

TimeDate Daemon supports interactive parameter which can be used to control whether PolKit should interactively ask the user for authentication credentials if required. But also, if interactive way is not applicable, users permissions can be set by PolKit rules in the /usr/share/polkit-1/rules.d/org.freedesktop.timedate1.rules file. For example, a system administrator can add Desktop-users into wheel group to give them rights to access the org.freedesktop.timedate1 D-Bus interface.

Requirements:

Package min Version
glib-2.0 >= 2.76
gobject-2.0 >= 2.76
gio-2.0 >= 2.76
polkit-gobject-1 >= 123
libpcre2-8 >= 10.36
dbus >= 1.13.18

How to Build:

 meson setup --prefix=/usr . ..
 ninja
 ninja install

Supported Distributions:

For other systems the special implementation of NTP daemon control should be developed.

TODO:

  • timedatectl (simply it can be writen in Bash).

LICENSE:

GNU General Public License Version 2, June 1991