From 604946d79338cfc6de364fd1b8d437a344da116b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 10 Oct 2011 17:30:16 +0200 Subject: [PATCH] systemd-units: improve hwclock.service. --- srcpkgs/systemd-units/files/hwclock.service | 3 ++- srcpkgs/systemd-units/template | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/systemd-units/files/hwclock.service b/srcpkgs/systemd-units/files/hwclock.service index d8c4a5d5d1a..c74ed60932c 100644 --- a/srcpkgs/systemd-units/files/hwclock.service +++ b/srcpkgs/systemd-units/files/hwclock.service @@ -7,7 +7,8 @@ Before=basic.target Type=oneshot RemainAfterExit=yes ExecStartPre=/sbin/modprobe -q rtc -ExecStart=/sbin/hwclock -s +ExecStart=/sbin/hwclock --hctosys --utc +ExecStop=/sbin/hwclock --systohc --utc [Install] WantedBy=basic.target diff --git a/srcpkgs/systemd-units/template b/srcpkgs/systemd-units/template index 74ba7380fd5..cbf120477d2 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.5 +version=0.6 build_style=custom-install short_desc="Void GNU/Linux systemd units" maintainer="Juan RP "