1[Unit]
2Description=Bind mount volatile @where@
3DefaultDependencies=false
4Before=local-fs.target
5RequiresMountsFor=@whatparent@ @whereparent@
6ConditionPathIsReadWrite=@whatparent@
7ConditionPathExists=@where@
8ConditionPathIsReadWrite=!@where@
9
10[Service]
11Type=oneshot
12RemainAfterExit=Yes
13TimeoutSec=0
14ExecStart=/sbin/mount-copybind @what@ @where@
15ExecStop=/bin/umount @where@
16
17[Install]
18WantedBy=local-fs.target
19