[systemd-devel] Automatic Reboot Protocol [SOLVED]

systemdkiosk at yopmail.com systemdkiosk at yopmail.com
Thu May 30 21:34:08 PDT 2013


Simple "at" did the trick from nightjanitor.sh

  echo "systemctl start reboot.target" | at now + 3 min

If a more purist systemd method exists, I'd love to see it.



footnote:
"at" install for Arch Linux, pkg not present by default,
your distro may be similar

$ sudo pacman -S at
$ sudo systemctl enable atd.service
$ sudo systemctl start atd.service

(...and if /var/spool resides in tmpfs, create...)

# /etc/tmpfiles.d/atd.conf
d /var/spool/atd                  1770   daemon  daemon  1d
f /var/spool/atd/.SEQ             0600   daemon  daemon  -

-- 
http://www.fastmail.fm - Does exactly what it says on the tin



More information about the systemd-devel mailing list