Ventoy Forums
Unable to autostart with -R - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: iVentoy General Use —— iVentoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=7)
+--- Forum: iVentoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=8)
+--- Thread: Unable to autostart with -R (/showthread.php?tid=2799)



Unable to autostart with -R - redskam - 02-26-2024

Hello,
I have been using iventoy for some time inside a proxmox container (ubuntu) and it works great ! But I can't seem to autorun the service..
I made a script to start iventoy when the container is turned on with the command "sudo bash iventoy.sh -R -A start"

Iventoy starts, but the service does not. I always have to go to <ip>:26000 and click on the green button.
I also tried using curl on <ip>:26000/#vtoy_main but it doesn't do trick.

Why doesn't the -R option work ? Is there a way around it ?
Any input is appreciated  Big Grin


RE: Unable to autostart with -R - jeffshead - 03-09-2024

bash iventoy.sh -R start works for me on AlmaLinux 9.3.

You can also run iVentoy as a service. Here are two examples:

https://github.com/ventoy/PXE/issues/4#issuecomment-1949517517
https://github.com/ventoy/PXE/issues/27#issuecomment-1694230539

I haven't tried the example posted on the second page but I know the other one works if you replace Wants=network-online.target with After=network-online.target