mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
9e615fa3aa
This is the equivalent of RequiresMountsFor=, but adds Wants= instead of Requires=. It will be useful for example for the autogenerated systemd-cryptsetup units. Fixes https://github.com/systemd/systemd/issues/11646
16 lines
637 B
SYSTEMD
16 lines
637 B
SYSTEMD
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
[Unit]
|
|
Description=Basic System
|
|
Documentation=man:systemd.special(7)
|
|
Requires=sysinit.target
|
|
Wants=sockets.target timers.target paths.target slices.target
|
|
After=sysinit.target sockets.target paths.target slices.target tmp.mount
|
|
|
|
# We support /var, /tmp, /var/tmp, being on NFS, but we don't pull in
|
|
# remote-fs.target by default, hence pull them in explicitly here. Note that we
|
|
# require /var and /var/tmp, but only add a Wants= type dependency on /tmp, as
|
|
# we support that unit being masked, and this should not be considered an error.
|
|
RequiresMountsFor=/var /var/tmp
|
|
WantsMountsFor=/tmp
|