On Fri, Jun 7, 2019 at 6:14 AM Jeffrey Walton wrote:
>
> On Thu, May 16, 2019 at 11:02 AM Mike Gilbert wrote:
> >
> > On Thu, May 16, 2019 at 4:50 AM Lennart Poettering
> > wrote:
> > >
> > > On Mi, 15.05.19 15:53, Jeffrey Walton (noloa...@gmail.com) wrote:
> > >
> > > > if [[ "$NEEDS_REBOOT" -e
On Thu, May 16, 2019 at 4:50 AM Lennart Poettering
wrote:
>
> On Mi, 15.05.19 15:53, Jeffrey Walton (noloa...@gmail.com) wrote:
>
> > if [[ "$NEEDS_REBOOT" -eq 1 ]]
> > then
> > echo "Scheduling reboot in 10 minutes"
> > reboot -r 10
>
> This syntax is not understood by systemd:
>
> https:
On Mi, 15.05.19 15:53, Jeffrey Walton (noloa...@gmail.com) wrote:
> if [[ "$NEEDS_REBOOT" -eq 1 ]]
> then
> echo "Scheduling reboot in 10 minutes"
> reboot -r 10
This syntax is not understood by systemd:
https://www.freedesktop.org/software/systemd/man/reboot.html#
If you want to schedu
Hi Everyone,
I have a systemd timer that fires early in the morning. The timer
starts a systemd service, and the service checks for updates using the
package manager. If updates are found then they are applied. The
service runs fine and is shown below.
The tail of the service schedules a reboot o