Created
October 16, 2021 10:51
-
-
Save francoism90/c6f2790dc522d6e39cac28cd233b9afe to your computer and use it in GitHub Desktop.
Revisions
-
francoism90 created this gist
Oct 16, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ [Unit] Description=Suspend system [Service] Type=oneshot ExecStart=/usr/bin/systemctl suspend This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ [Unit] Description=Automatically suspend on a schedule [Timer] OnCalendar=Mon..Fri 01:30 OnCalendar=Sat,Sun 04:30 Persistent=true [Install] WantedBy=timers.target