summaryrefslogtreecommitdiff
path: root/units/lazy_mount.service
blob: 6102f0512ee3b30fd5a5f0079a7662f583752037 (plain)
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-user.sh
ExecStartPost=/usr/bin/touch /run/.unlock_mnt
SuccessExitStatus=0