Added nightly reboot timer
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
parent
93efdfcf22
commit
5777462356
6 changed files with 14 additions and 550 deletions
6
root/etc/systemd/system/nightly-reboot.service
Normal file
6
root/etc/systemd/system/nightly-reboot.service
Normal file
|
@ -0,0 +1,6 @@
|
|||
[Unit]
|
||||
Description=Nightly reboot
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/systemctl reboot
|
8
root/etc/systemd/system/nightly-reboot.timer
Normal file
8
root/etc/systemd/system/nightly-reboot.timer
Normal file
|
@ -0,0 +1,8 @@
|
|||
[Unit]
|
||||
Description=Reboot Scheduling.
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 03:00:00
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue