Skip to content
Commit 252eee75 authored by Martin Wilck's avatar Martin Wilck Committed by Zbigniew Jędrzejewski-Szmek
Browse files

core: don't create Requires for workdir if "missing ok"

Don't add an implicit RequiresMountsFor depenency for the
WorkingDirectory of a unit if the "-" character was used to
indicate that "a missing working directory is not considered fatal"
(see systemd.exec(5)). Otherwise systemd might fail the unit
because of missing dependencies.

(cherry picked from commit e1e74614)
parent a4998842
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment