diff options
Diffstat (limited to 'meta/files/overlayfs-unit.mount.in')
-rw-r--r-- | meta/files/overlayfs-unit.mount.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/files/overlayfs-unit.mount.in b/meta/files/overlayfs-unit.mount.in new file mode 100644 index 0000000000..1d33b7e39c --- /dev/null +++ b/meta/files/overlayfs-unit.mount.in | |||
@@ -0,0 +1,13 @@ | |||
1 | [Unit] | ||
2 | Description=Overlayfs mount unit | ||
3 | Requires={CREATE_DIRS_SERVICE} | ||
4 | After={CREATE_DIRS_SERVICE} | ||
5 | |||
6 | [Mount] | ||
7 | What=overlay | ||
8 | Where={LOWERDIR} | ||
9 | Type=overlay | ||
10 | Options=lowerdir={LOWERDIR},upperdir={DATA_MOUNT_POINT}/upper{LOWERDIR},workdir={DATA_MOUNT_POINT}/workdir{LOWERDIR} | ||
11 | |||
12 | [Install] | ||
13 | WantedBy=multi-user.target | ||