diff options
author | Woo Chang Kim <wchang.kim@samsung.com> | 2016-08-25 02:00:32 -0700 |
---|---|---|
committer | wchang kim <wchang.kim@samsung.com> | 2016-08-25 18:32:03 +0900 |
commit | daf33e1ffd2d7f2be4d63e67114729541ab1d260 (patch) | |
tree | f80e4aa418fe169a7dda6adc635182982a77ff9f /units | |
parent | b63cf7d6105a8866d82d7c8110eaa19fae0044d0 (diff) | |
download | system-plugin-daf33e1ffd2d7f2be4d63e67114729541ab1d260.tar.gz system-plugin-daf33e1ffd2d7f2be4d63e67114729541ab1d260.tar.bz2 system-plugin-daf33e1ffd2d7f2be4d63e67114729541ab1d260.zip |
Revert "Revert "Description : Adding fstab for lazy mount""submit/tizen/20160826.052212submit/tizen/20160826.022147submit/tizen/20160825.094741accepted/tizen/wearable/20160829.040406accepted/tizen/tv/20160829.040342accepted/tizen/mobile/20160829.040330accepted/tizen/ivi/20160829.040424accepted/tizen/common/20160825.152043
This reverts commit b63cf7d6105a8866d82d7c8110eaa19fae0044d0.
Change-Id: I80b98406dbe1408fda9786de3b9103854eab0211
Diffstat (limited to 'units')
-rw-r--r-- | units/lazy_mount.service | 4 | ||||
-rw-r--r-- | units/wait-user-mount.service | 11 |
2 files changed, 12 insertions, 3 deletions
diff --git a/units/lazy_mount.service b/units/lazy_mount.service index e1f4f46..8d4d492 100644 --- a/units/lazy_mount.service +++ b/units/lazy_mount.service @@ -1,10 +1,8 @@ [Unit] Description=Mount /opt/usr -#ConditionPathIsMountPoint = !/opt/usr [Service] Type=oneshot -SmackProcessLabel=System -ExecStartPre=/usr/bin/rm -f /run/.unlock_mnt /tmp/.lazy_mount +SmackProcessLabel=System::Privileged ExecStart=/usr/bin/mount-user.sh SuccessExitStatus=0 diff --git a/units/wait-user-mount.service b/units/wait-user-mount.service new file mode 100644 index 0000000..b648197 --- /dev/null +++ b/units/wait-user-mount.service @@ -0,0 +1,11 @@ +[Unit] +Description=Wait user mount +After=starter.service +Before=basic.target +DefaultDependencies=no + +[Service] +Type=notify +ExecStart=/usr/bin/test_lazymount wait +TimeoutStartSec=365d +RemainAfterExit=yes |