Added nightly reboot timer

Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
Marko Korhonen 2019-11-19 15:03:07 +02:00
parent 93efdfcf22
commit 5777462356
6 changed files with 14 additions and 550 deletions

View file

@ -0,0 +1,6 @@
[Unit]
Description=Nightly reboot
[Service]
Type=simple
ExecStart=/usr/bin/systemctl reboot

View file

@ -0,0 +1,8 @@
[Unit]
Description=Reboot Scheduling.
[Timer]
OnCalendar=*-*-* 03:00:00
[Install]
WantedBy=multi-user.target