summaryrefslogtreecommitdiff
path: root/units/tizen-readahead-collect.service.in
blob: 8b0c5c33c6fce28920bc7449e25f0ca28c7780f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Unit]
Description=Collect Read-Ahead Data
DefaultDependencies=no
Wants=tizen-readahead-collect-stop.service
Conflicts=shutdown.target
After=smack.service smack-default-labeling.service tizen-readahead-replay.service
Before=sysinit.target shutdown.target
ConditionPathExists=!/run/systemd/readahead/cancel
ConditionPathExists=!/run/systemd/readahead/done
ConditionPathExists=!@READAHEAD_DIR@/.readahead
ConditionVirtualization=no

[Service]
Type=notify
ExecStart=@rootlibexecdir@/systemd-readahead collect --savedir=@READAHEAD_DIR@
RemainAfterExit=yes
StandardOutput=null

[Install]
WantedBy=tizen-init.target