[systemd-devel] Automatic Reboot Protocol
Andrey Borzenkov
arvidjaar at gmail.com
Tue May 28 21:48:11 PDT 2013
В Wed, 29 May 2013 04:24:41 +0000
systemdkiosk at yopmail.com пишет:
> Tried all advice so far, no dice, but thanks. A more advanced
> timer/service layout may be needful in this rev of systemd (204), though
> I'm fairly clueless what.
>
> Last try was
> ( sleep 30 && systemctl --no-block start reboot.target ) &
>
> If anyone succeeds making something work, please post and thank you.
>
> Script runtime is indeterminate so I can't use a second timer keyed for
> X minutes after the first.
>
I lost you here. May be if you explain what you are trying to achieve
in general terms, without trying to pull in systemd from the very
beginning, someone could suggest how it can be implemented with systemd.
> I do wonder if the janitor script could systemctl launch a second timer
> with --runtime flag, that one in turn performing reboot as its only
> command. Someone tell me if I'm all wet, I'm certainly no expert, just
> guessing around while learning.
>
> Thanks
>
More information about the systemd-devel
mailing list