Implement shutdown-if-not-in-use.

This commit is contained in:
Andreas B. Mundt 2023-08-06 13:51:16 +02:00
parent f1c67852da
commit 9f6fa677c4
5 changed files with 84 additions and 0 deletions

View 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