1 2 3 4 5 6 7 8 9 10 11
[Unit] Description=Mount /opt/usr ConditionPathIsMountPoint = !/opt/usr [Service] Type=oneshot SmackProcessLabel=System ExecStartPre=/usr/bin/rm -f /run/.unlock_mnt /tmp/.lazy_mount ExecStart=/usr/bin/mount -L user /opt/usr ExecStartPost=/usr/bin/touch /run/.unlock_mnt SuccessExitStatus=0