diff --git a/Makefile.am b/Makefile.am index cb768112..1c415c7b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 diff --git a/data/verifytime.service b/data/verifytime.service new file mode 100644 index 00000000..4aa0f1ef --- /dev/null +++ b/data/verifytime.service @@ -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