[systemd-devel] Automatic Reboot Protocol
Jan Alexander Steffens
jan.steffens at gmail.com
Sat May 25 16:29:09 PDT 2013
On Sun, May 26, 2013 at 1:19 AM, <systemdkiosk at yopmail.com> wrote:
>
> How to reboot from a systemd timer? We have
>
> systemd timer calls
> systemd unit calls
> bash script calls
> systemctl reboot
>
> The script runs fine each day, except for its last step, "systemctl
> reboot." What's the right protocol? Is it wrong to call systemctl from a
> script?
>
> Thanks
>
> --
> http://www.fastmail.fm - The way an email service should be
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Just have the timer start reboot.target.
More information about the systemd-devel
mailing list