]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-volatile-root.service.in
fstab-generator: add support for volatile boots
[thirdparty/systemd.git] / units / systemd-volatile-root.service.in
CommitLineData
91214a37
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
4# under the terms of the GNU Lesser General Public License as published by
5# the Free Software Foundation; either version 2.1 of the License, or
6# (at your option) any later version.
7
8[Unit]
9Description=Enforce Volatile Root File Systems
10Documentation=man:systemd-volatile-root.service(8)
11DefaultDependencies=no
12Conflicts=shutdown.target
13After=sysroot.mount
14Before=initrd-root-fs.target shutdown.target
15Conflicts=shutdown.target
16AssertPathExists=/etc/initrd-release
17
18[Service]
19Type=oneshot
20RemainAfterExit=yes
21ExecStart=@rootlibexecdir@/systemd-volatile-root yes /sysroot