2020-11-09 12:23:58 +08:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2017-11-19 00:35:03 +08:00
|
|
|
#
|
2010-05-17 07:34:36 +08:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 06:20:58 +08:00
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
2010-05-17 07:34:36 +08:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Basic System
|
2012-05-21 21:12:18 +08:00
|
|
|
Documentation=man:systemd.special(7)
|
2013-03-26 09:32:20 +08:00
|
|
|
Requires=sysinit.target
|
2013-06-18 06:59:54 +08:00
|
|
|
Wants=sockets.target timers.target paths.target slices.target
|
2016-02-10 03:34:27 +08:00
|
|
|
After=sysinit.target sockets.target paths.target slices.target tmp.mount
|
2015-04-03 20:32:32 +08:00
|
|
|
|
|
|
|
# We support /var, /tmp, /var/tmp, being on NFS, but we don't pull in
|
2016-02-10 08:08:16 +08:00
|
|
|
# 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.
|
2016-02-10 03:34:27 +08:00
|
|
|
RequiresMountsFor=/var /var/tmp
|
|
|
|
Wants=tmp.mount
|