summaryrefslogtreecommitdiff
path: root/units/tizen-journal-flush.service
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-09-08 21:30:39 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-09-08 21:30:39 +0900
commitf66f61d6d5c9f9928f140ebfbda80284d1331529 (patch)
treedda135629da91b07d36b25d54258964c185144c7 /units/tizen-journal-flush.service
parent7253ef7586e0cc619b996566965a185f0c2a7cbc (diff)
downloadsystem-plugin-common-f66f61d6d5c9f9928f140ebfbda80284d1331529.tar.gz
system-plugin-common-f66f61d6d5c9f9928f140ebfbda80284d1331529.tar.bz2
system-plugin-common-f66f61d6d5c9f9928f140ebfbda80284d1331529.zip
Diffstat (limited to 'units/tizen-journal-flush.service')
-rw-r--r--units/tizen-journal-flush.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/units/tizen-journal-flush.service b/units/tizen-journal-flush.service
new file mode 100644
index 0000000..9a2d2ee
--- /dev/null
+++ b/units/tizen-journal-flush.service
@@ -0,0 +1,11 @@
+# This file is copied from systemd to modify.
+
+[Unit]
+Description=Trigger Flushing of Journal to Persistent Storage
+Documentation=man:systemd-journald.service(8) man:journald.conf(5)
+Requires=systemd-journald.service
+After=systemd-journald.service default.target
+
+[Service]
+ExecStart=/usr/bin/systemctl kill --kill-who=main --signal=SIGUSR1 systemd-journald.service
+Type=oneshot