Commit d0edae67 authored by Tails developers's avatar Tails developers

Fix start-stop-daemon options in Start_readahead()

Let's fully spell `--pidfile` and add the `--make-pidfile` option to actually
prompt start-stop-daemon to create that file.
parent e235b6fb
......@@ -40,7 +40,8 @@ Start_readahead ()
pv -f -s ${FG_SIZE}k >/dev/null || :)
(cd /
start-stop-daemon \
--start --background --pid /var/run/ --startas /bin/sh -- \
--start --background --make-pidfile --startas /bin/sh \
--pidfile /var/run/ -- \
-c "$BG_FILES | xargs cat >/dev/null 2>&1")
# Creating state file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment