summaryrefslogtreecommitdiff
path: root/src/systemd-timesyncd
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd-timesyncd')
-rw-r--r--src/systemd-timesyncd/90-timesyncd.preset8
-rw-r--r--src/systemd-timesyncd/Makefile3
2 files changed, 11 insertions, 0 deletions
diff --git a/src/systemd-timesyncd/90-timesyncd.preset b/src/systemd-timesyncd/90-timesyncd.preset
new file mode 100644
index 0000000000..d40b418358
--- /dev/null
+++ b/src/systemd-timesyncd/90-timesyncd.preset
@@ -0,0 +1,8 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+enable systemd-timesyncd.service
diff --git a/src/systemd-timesyncd/Makefile b/src/systemd-timesyncd/Makefile
index 2b81fe74fd..511c86ba82 100644
--- a/src/systemd-timesyncd/Makefile
+++ b/src/systemd-timesyncd/Makefile
@@ -61,6 +61,9 @@ EXTRA_DIST += \
units/systemd-timesyncd.service.in \
src/timesync/timesyncd.conf.in
+dist_systempreset_DATA = \
+ 90-timesyncd.preset
+
sd.CPPFLAGS += -DPKGSYSCONFDIR=\"$(pkgsysconfdir)\"
include $(topsrcdir)/build-aux/Makefile.tail.mk