~upstart-devel/upstart/upstart-jobs

« back to all changes in this revision

Viewing changes to vivid/etc/init/ureadahead-other.conf

  • Committer: Dimitri John Ledkov
  • Date: 2014-11-19 12:58:41 UTC
  • Revision ID: dimitri.j.ledkov@intel.com-20141119125841-98dr37roy8dvcv3b
auto update

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# ureadahead - Read required files in advance for other mountpoints
 
2
#
 
3
# Runs the über-readahead daemon which reads data about files required
 
4
# during boot and reads them into the page cache in advance of their
 
5
# use.
 
6
 
 
7
description     "Read required files in advance (for other mountpoints)"
 
8
 
 
9
start on mounted DEVICE=[/UL]* MOUNTPOINT=/?*
 
10
 
 
11
# Forks into the background both when reading from disk and when profiling
 
12
# (HDD mode won't fork, but that's ok because we'll wait for it in spawned).
 
13
expect fork
 
14
 
 
15
# Don't treat a normal exit after reading finishes as a failure, and
 
16
# don't treat a missing pack file as an error either
 
17
normal exit 0 4
 
18
 
 
19
exec /sbin/ureadahead --daemon $MOUNTPOINT