summarylogtreecommitdiffstats
path: root/auto_facelock@.service
blob: 413377fbf295fcfaf581c2b10281afd4531b208a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Face Detection Screen Lock Service for %I
After=multi-user.target

[Service]
Type=simple
ExecStart=/usr/local/bin/auto_facelock.py --known_faces_dir /usr/local/share/known_faces --check_interval 60 --retries 2 
Restart=on-failure
User=%I
Environment=DISPLAY=:0
Environment=XAUTHORITY=/home/%I/.Xauthority

[Install]
WantedBy=multi-user.target