diff --git a/srcpkgs/systemd-units/files/hwclock.service b/srcpkgs/systemd-units/files/hwclock.service new file mode 100644 index 0000000000..d8c4a5d5d1 --- /dev/null +++ b/srcpkgs/systemd-units/files/hwclock.service @@ -0,0 +1,13 @@ +[Unit] +Description=Syncs system time from the Hardware Clock +DefaultDependencies=no +Before=basic.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStartPre=/sbin/modprobe -q rtc +ExecStart=/sbin/hwclock -s + +[Install] +WantedBy=basic.target diff --git a/srcpkgs/systemd-units/template b/srcpkgs/systemd-units/template index b863e57006..9ca272091c 100644 --- a/srcpkgs/systemd-units/template +++ b/srcpkgs/systemd-units/template @@ -1,6 +1,6 @@ # Template file for 'systemd-units' pkgname=systemd-units -version=0.3 +version=0.4 build_style=custom-install short_desc="Void GNU/Linux systemd units" maintainer="Juan RP "