So I am attempting to set up a restart service/timer so my ZimaCube can restart every morning. However, it doesn’t seem like the systemd commands I’m inputting are being enabled once the restart happens. Is anyone able to supply any information?
My restart.timer file is:
[Unit]
Description=Restart system every day at 5 AM Eastern Time
[Timer]
OnCalendar=*-*-* 10:00:00
Unit=restart.service
Persistent=true
[Install]
WantedBy=timers.target
And my restart.service is:
[Unit]
Description=Restart the system
[Service]
Type=simple
ExecStart=/usr/bin/systemctl --force reboot
[Install]
WantedBy=timers.target
Unsure what commands I need to do to make sure these are added once it restart so I don’t have to keep inputting commands to make the service/timer files run every time.
Thanks!