summaryrefslogtreecommitdiff
path: root/src/systemd-timesyncd
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-09-10 16:01:07 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-09-10 16:01:07 -0400
commit19b02206ffff130a7cfed2efc81604bf7fe9bb07 (patch)
tree5c9800da3cdfe6bdd7e814a2a54dcf6720af0f65 /src/systemd-timesyncd
parent623d6918363a5f0d937d35a1fa10ce375c3ff258 (diff)
presets
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