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 Unit=nightjanitor.service [Install] WantedBy=multi-user.target ---------------------------------------------- # /etc/systemd/system/nightjanitor.service [Unit] Description=Nightly chores [Service] Type=simple ExecStart=/etc/systemd/system/nightjanitor.sh ---------------------------------------------- #!/usr/bin/env bash # /etc/systemd/system/nightjanitor.sh set -e # do system stuff like backup # and house-clean generally, # then REBOOT as final step -- http://www.fastmail.fm - Choose from over 50 domains or use your own _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
