diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2019-01-07 19:41:45 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2019-03-06 13:46:01 +0100 |
commit | c1c098080b8ab5b3c612d4a86c03bdade69fe3e8 (patch) | |
tree | 4f5a20a206cf9fb246fbcc9c185712241713a4d3 /recipes-core/systemd/timestamp-service/timestamp.service | |
parent | 79c612b3ce834afeb1d1948ef76381c2cf52ce91 (diff) |
timestamp-service: import from angstrom
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-core/systemd/timestamp-service/timestamp.service')
-rw-r--r-- | recipes-core/systemd/timestamp-service/timestamp.service | 12 |
1 files changed, 12 insertions, 0 deletions
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 |