use ConditionPathIsMountPoint

This commit is contained in:
Alex Polvi 2014-03-19 03:31:50 +00:00
parent 5174415149
commit 4ceb7e541d

View File

@ -32,8 +32,7 @@ coreos:
Description=Legacy c10n support from EC2 metadata
Requires=ec2-cloudinit.service
After=ec2-cloudinit.service
# hack: This only runs on the generic images
ConditionPathExists=/media/state/overlays/home
ConditionPathIsMountPoint=!/usr
[Service]
Type=oneshot