]>
Commit | Line | Data |
---|---|---|
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] | |
9 | Description=Lock Directory | |
10 | Before=local-fs.target | |
2b583ce6 KS |
11 | # skip mounting if the directory does not exist or is a symlink |
12 | ConditionPathIsDirectory=/var/lock | |
6d526de2 LP |
13 | |
14 | [Mount] | |
2b583ce6 | 15 | What=/run/lock |
6d526de2 | 16 | Where=/var/lock |
2b583ce6 KS |
17 | Type=bind |
18 | Options=bind |