1
0
forked from brl/citadel
citadel/poky/meta/recipes-core/volatile-binds/files/volatile-binds.service.in

20 lines
431 B
SYSTEMD

[Unit]
Description=Bind mount volatile @where@
DefaultDependencies=false
Before=local-fs.target
RequiresMountsFor=@whatparent@ @whereparent@
ConditionPathIsReadWrite=@whatparent@
ConditionPathExists=@where@
ConditionPathIsReadWrite=!@where@
[Service]
Type=oneshot
RemainAfterExit=Yes
StandardOutput=syslog
TimeoutSec=0
ExecStart=/sbin/mount-copybind @what@ @where@
ExecStop=/bin/umount @where@
[Install]
WantedBy=local-fs.target