Re: [systemd-devel] syslog web page formatting error

2013-05-25 Thread Zbigniew Jędrzejewski-Szmek
On Sat, May 25, 2013 at 08:16:27AM +0400, Andrey Borzenkov wrote: The page http://www.freedesktop.org/wiki/Software/systemd/syslog/ contains Yeah, all code samples are broken. Fixed this one, but for some reason, the syntax for code samples works differently on that page than on

[systemd-devel] Automatic Reboot Protocol

2013-05-25 Thread systemdkiosk
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 --

Re: [systemd-devel] Automatic Reboot Protocol

2013-05-25 Thread Jan Alexander Steffens
On Sun, May 26, 2013 at 1:19 AM, systemdki...@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

Re: [systemd-devel] Automatic Reboot Protocol

2013-05-25 Thread systemdkiosk
Jan Alexander Steffens, So in this timer, where/how apply reboot.target, or else tell systemd to invoke? Thx -- # /etc/systemd/system/nightjanitor.timer [Unit] Description=Nightly wee-hours heartbeat [Timer] OnCalendar=*-*-* 01:23:45