Implement shutdown-if-not-in-use.
This commit is contained in:
parent
f1c67852da
commit
9f6fa677c4
5 changed files with 84 additions and 0 deletions
9
roles/lmn_kde/files/pwroff.timer
Normal file
9
roles/lmn_kde/files/pwroff.timer
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Run pwroff script every 10 min after 60 min uptime
|
||||
|
||||
[Timer]
|
||||
OnBootSec=60min
|
||||
OnUnitActiveSec=10min
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue