Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Unable to autostart with -R
#1
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
Reply
#2
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#i...1949517517
https://github.com/ventoy/PXE/issues/27#...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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)