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