chiark / gitweb /
add a generator to pull rc-local.service in
[elogind.git] / units / var-lock.mount
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]
9 Description=Lock Directory
10 Before=local-fs.target
11 # skip mounting if the directory does not exist or is a symlink
12 ConditionPathIsDirectory=/var/lock
13 ConditionPathIsSymbolicLink=!/var/lock
14
15 [Mount]
16 What=/run/lock
17 Where=/var/lock
18 Type=bind
19 Options=bind