mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 03:13:03 +02:00
systemd-units: improve hwclock.service.
This commit is contained in:
parent
3e54485fda
commit
604946d793
2 changed files with 3 additions and 2 deletions
|
@ -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>"
|
||||||
|
|
Loading…
Add table
Reference in a new issue