diff options
Diffstat (limited to 'units/tizen-readahead-replay.service.m4.in')
-rw-r--r-- | units/tizen-readahead-replay.service.m4.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/units/tizen-readahead-replay.service.m4.in b/units/tizen-readahead-replay.service.m4.in new file mode 100644 index 0000000..1440829 --- /dev/null +++ b/units/tizen-readahead-replay.service.m4.in @@ -0,0 +1,22 @@ +[Unit] +Description=Replay Read-Ahead Data +DefaultDependencies=no +Conflicts=shutdown.target +After=smack.service smack-default-labeling.service +Before=sysinit.target shutdown.target +ConditionPathExists=!/run/systemd/readahead/noreplay +ConditionPathExists=@READAHEAD_DIR@/.readahead +ConditionVirtualization=no + +[Service] +Type=notify +ExecStart=@rootlibexecdir@/systemd-readahead replay --savedir=@READAHEAD_DIR@ +RemainAfterExit=yes +StandardOutput=null +OOMScoreAdjust=1000 +m4_ifdef(`SMACK_LABEL', +SmackProcessLabel=system-plugin-common::script +)m4_dnl + +[Install] +WantedBy=graphical.target |