summaryrefslogtreecommitdiff
path: root/units/tizen-readahead-replay.service.m4.in
blob: 1440829fcde6598dc1b1a6181e0655f698f0bc84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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