summaryrefslogtreecommitdiff
path: root/units/tizen-journal-flush.service.m4
diff options
context:
space:
mode:
Diffstat (limited to 'units/tizen-journal-flush.service.m4')
-rw-r--r--units/tizen-journal-flush.service.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/units/tizen-journal-flush.service.m4 b/units/tizen-journal-flush.service.m4
new file mode 100644
index 0000000..aa5a95f
--- /dev/null
+++ b/units/tizen-journal-flush.service.m4
@@ -0,0 +1,14 @@
+# 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
+m4_ifdef(`SMACK_LABEL',
+SmackProcessLabel=system-plugin-common::script
+)m4_dnl