mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-08-23 14:36:09 +00:00
Run verifytime at boot
This will ensure the system has a more correct, usable time after boot, which not only improves swupd reliability but other services' as well. Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
This commit is contained in:
+4
-2
@@ -100,7 +100,8 @@ EXTRA_DIST += \
|
||||
data/check-update.service \
|
||||
data/check-update.timer \
|
||||
data/swupd-update.service \
|
||||
data/swupd-update.timer
|
||||
data/swupd-update.timer \
|
||||
data/verifytime.service
|
||||
|
||||
DISTCHECK_CONFIGURE_FLAGS = \
|
||||
--with-systemdsystemunitdir=$$dc_install_base/$(systemdunitdir)
|
||||
@@ -111,7 +112,8 @@ systemdunit_DATA = \
|
||||
data/check-update.service \
|
||||
data/check-update.timer \
|
||||
data/swupd-update.service \
|
||||
data/swupd-update.timer
|
||||
data/swupd-update.timer \
|
||||
data/verifytime.service
|
||||
|
||||
distclean-local:
|
||||
rm -rf aclocal.m4 ar-lib autom4te.cache config.guess config.h.in config.h.in~ config.sub configure depcomp install-sh ltmain.sh m4 Makefile.in missing compile
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Check that system time is sane; update to more correct time if needed
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/verifytime
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user