File: local-physlock.service

package info (click to toggle)
physlock 13-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 136 kB
  • sloc: ansic: 532; makefile: 57
file content (14 lines) | stat: -rw-r--r-- 289 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# This service files serves as example for the integration of physlock
# in sleep/suspend/resume using systemd.

[Unit]
Description=Lock consoles using physlock
Before=sleep.target

[Service]
Type=forking
ExecStart=/usr/bin/physlock -ds
Restart=on-failure

[Install]
WantedBy=sleep.target