diff options
| author | Josh Rahm <rahm@google.com> | 2020-02-21 14:11:54 -0700 |
|---|---|---|
| committer | Josh Rahm <rahm@google.com> | 2020-02-21 14:11:54 -0700 |
| commit | 60e3b00d8b62b35530a9889860c75568f3296c32 (patch) | |
| tree | 564adbb934524931e420202093edc34701a230f4 /extras/sysroot/etc/systemd | |
| parent | 650845a0fc55f9a505d2f460d79378facf2b3635 (diff) | |
| download | rde-60e3b00d8b62b35530a9889860c75568f3296c32.tar.gz rde-60e3b00d8b62b35530a9889860c75568f3296c32.tar.bz2 rde-60e3b00d8b62b35530a9889860c75568f3296c32.zip | |
Added some companion files to make things easier when bootstrapping a new device
Diffstat (limited to 'extras/sysroot/etc/systemd')
| -rw-r--r-- | extras/sysroot/etc/systemd/system/lock.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/extras/sysroot/etc/systemd/system/lock.service b/extras/sysroot/etc/systemd/system/lock.service new file mode 100644 index 0000000..fc7ec34 --- /dev/null +++ b/extras/sysroot/etc/systemd/system/lock.service @@ -0,0 +1,10 @@ +[Unit] +Description=Lock the screen on resume from suspend + +[Service] +User=rahm +Environment=DISPLAY=:0 +ExecStart=/usr/bin/xsecurelock + +[Install] +WantedBy=suspend.target |