summaryrefslogtreecommitdiff
path: root/units/tizen-readahead-collect-stop.service.m4
diff options
context:
space:
mode:
Diffstat (limited to 'units/tizen-readahead-collect-stop.service.m4')
-rw-r--r--units/tizen-readahead-collect-stop.service.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/units/tizen-readahead-collect-stop.service.m4 b/units/tizen-readahead-collect-stop.service.m4
new file mode 100644
index 0000000..bd5f49f
--- /dev/null
+++ b/units/tizen-readahead-collect-stop.service.m4
@@ -0,0 +1,17 @@
+[Unit]
+Description=Stop Read-Ahead Data Collection
+DefaultDependencies=no
+Conflicts=shutdown.target
+After=tizen-readahead-collect.service boot-animation.service
+Before=shutdown.target tizen-system.target
+ConditionVirtualization=no
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/systemd-notify --readahead=done
+m4_ifdef(`SMACK_LABEL',
+SmackProcessLabel=system-plugin-common::script
+)m4_dnl
+
+[Install]
+Also=tizen-readahead-collect.service