]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/var-lock.mount
units/suse: let rc-local.service log to syslog
[thirdparty/systemd.git] / units / var-lock.mount
CommitLineData
6d526de2
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 General Public License as published by
5# the Free Software Foundation; either version 2 of the License, or
6# (at your option) any later version.
7
8[Unit]
9Description=Lock Directory
10Before=local-fs.target
2b583ce6
KS
11# skip mounting if the directory does not exist or is a symlink
12ConditionPathIsDirectory=/var/lock
0d60602c 13ConditionPathIsSymbolicLink=!/var/lock
6d526de2
LP
14
15[Mount]
2b583ce6 16What=/run/lock
6d526de2 17Where=/var/lock
2b583ce6
KS
18Type=bind
19Options=bind