Initial Commit
This commit is contained in:
parent
48ecc90533
commit
e41a3705a7
8
autoPowerup.service
Normal file
8
autoPowerup.service
Normal file
@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Powers off the server when no tasks running
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/set-wakeup
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
3
set-wakeup
Executable file
3
set-wakeup
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
rtcwake -m no -t$(date -d sunday03:58 +%s);
|
||||
exit 0;
|
Loading…
Reference in New Issue
Block a user