summaryrefslogtreecommitdiff
path: root/packaging/wait-lock.service
blob: 1147161c2135342326744c6ea2d53814aa3419bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=wait lockscreen
After=tizen-boot.target boot-animation.service
Requires=tizen-boot.target
Before=tizen-system.target
ConditionPathExists=|/tmp/.passwordlock

[Service]
Type=oneshot
ExecStart=/bin/sh -c 'while [ -e /tmp/.passwordlock ]; do sleep 0.5 ; done'
TimeoutSec=7s

[Install]
WantedBy=tizen-system.target