summaryrefslogtreecommitdiff
path: root/units/lazy_mount.service
blob: e1f4f46ac6e9f329c7fbee0aec59e7ab0479f1a7 (plain)
1
2
3
4
5
6
7
8
9
10
[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-user.sh
SuccessExitStatus=0