From: Thibault Godouet Date: Fri, 16 Oct 2020 20:42:56 +0000 (+0100) Subject: added missing script/fcron.init.systemd.reboot.in X-Git-Tag: ver3_3_1~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e9963139b297af8b215c80e08a51f557d66a11ff;p=thirdparty%2Ffcron.git added missing script/fcron.init.systemd.reboot.in --- diff --git a/script/fcron.init.systemd.reboot.in b/script/fcron.init.systemd.reboot.in new file mode 100644 index 0000000..2967b77 --- /dev/null +++ b/script/fcron.init.systemd.reboot.in @@ -0,0 +1,14 @@ +# systemd service configuration file for fcron +# Remove 'reboot' file to ensure '@reboot' jobs run on next system boot. + +[Unit] +Description=fcron reboot file clean-up +DefaultDependencies=no +Before=shutdown.target reboot.target halt.target + +[Service] +Type=oneshot +ExecStart=/bin/rm -f @@REBOOT_LOCK@ + +[Install] +WantedBy=shutdown.target reboot.target halt.target