From c1c098080b8ab5b3c612d4a86c03bdade69fe3e8 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Mon, 7 Jan 2019 19:41:45 +0100 Subject: timestamp-service: import from angstrom Signed-off-by: Max Krummenacher --- recipes-core/systemd/timestamp-service/timestamp.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 recipes-core/systemd/timestamp-service/timestamp.service (limited to 'recipes-core/systemd/timestamp-service/timestamp.service') diff --git a/recipes-core/systemd/timestamp-service/timestamp.service b/recipes-core/systemd/timestamp-service/timestamp.service new file mode 100644 index 0000000..9be5056 --- /dev/null +++ b/recipes-core/systemd/timestamp-service/timestamp.service @@ -0,0 +1,12 @@ +[Unit] +Description=Timestamping service +ConditionPathExists=/etc/timestamp +After=remount-rootfs.service + +[Service] +RemainAfterExit=yes +ExecStart=/usr/bin/load-timestamp.sh +ExecStop=/usr/bin/load-timestamp.sh --save + +[Install] +WantedBy=basic.target -- cgit v1.2.3