[systemd-devel] Automatic Reboot Protocol

Lennart Poettering lennart at poettering.net
Tue Jun 4 10:47:51 PDT 2013


On Sat, 25.05.13 23:19, systemdkiosk at yopmail.com (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?

This should definitely work. If it doesn't this would be a bug, and
please file a bug in that case with a minimal test case...

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list