On Sun, May 26, 2013 at 1:19 AM, <[email protected]> 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
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Just have the timer start reboot.target.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to