X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Ffiles%2Fetc%2Fsystemd%2Fsystem%2Ffaicheck.service%2FVOL_BULLSEYE_BOOTSTRAP;fp=fai%2Fconfig%2Ffiles%2Fetc%2Fsystemd%2Fsystem%2Ffaicheck.service%2FVOL_BULLSEYE_BOOTSTRAP;h=61f5a1f1c7151a00f3c6c5a8b69cdb39cc8b3340;hb=bfd6bbd3a188aac6871f8b5e1116a0979682d52b;hp=0000000000000000000000000000000000000000;hpb=9fefba0a7ad0f7d9cac32b81f960ae8828de2a66;p=automated-distro-installer diff --git a/fai/config/files/etc/systemd/system/faicheck.service/VOL_BULLSEYE_BOOTSTRAP b/fai/config/files/etc/systemd/system/faicheck.service/VOL_BULLSEYE_BOOTSTRAP new file mode 100644 index 0000000..61f5a1f --- /dev/null +++ b/fai/config/files/etc/systemd/system/faicheck.service/VOL_BULLSEYE_BOOTSTRAP @@ -0,0 +1,11 @@ +[Unit] +Description=check whether to kexec to fai, reboot, or do nothing +After=syslog.target network-online.target + +[Service] +Type=oneshot +ExecStart=/root/fai-check +TimeoutStartSec=60 + +[Install] +WantedBy=multi-user.target