systemd-units: improve hwclock.service.
This commit is contained in:
@@ -7,7 +7,8 @@ Before=basic.target
|
|||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
ExecStartPre=/sbin/modprobe -q rtc
|
ExecStartPre=/sbin/modprobe -q rtc
|
||||||
ExecStart=/sbin/hwclock -s
|
ExecStart=/sbin/hwclock --hctosys --utc
|
||||||
|
ExecStop=/sbin/hwclock --systohc --utc
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=basic.target
|
WantedBy=basic.target
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Template file for 'systemd-units'
|
# Template file for 'systemd-units'
|
||||||
pkgname=systemd-units
|
pkgname=systemd-units
|
||||||
version=0.5
|
version=0.6
|
||||||
build_style=custom-install
|
build_style=custom-install
|
||||||
short_desc="Void GNU/Linux systemd units"
|
short_desc="Void GNU/Linux systemd units"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
|||||||
Reference in New Issue
Block a user