ineo icon indicating copy to clipboard operation
ineo copied to clipboard

Start instances with ineo on reboot

Open hodgigre opened this issue 5 years ago • 2 comments

I'm pulling my hair out. I've spent hours trying to figure out how to start instances via ineo on reboot. BTW, ineo is exactly what I was looking for to manage multiple instances on a single machine. Sweet! Thanks!!!

Anyway, I'm on a very basic new Debian 9 install.

crontab @reboot doesn't appear to work. I read others have issues with reboot in cron for a user (vs. root).

I resorted to creating rc.local service like here. https://www.itechlounge.net/2017/10/linux-how-to-add-rc-local-in-debian-9/ It works, but I don't appear to be able to get the environment set correctly to get it to recognize my databases.

The seemingly simple things can be sooo time consuming. Hoping you might have a quick suggested approach that you've worked with. It's not an ineo "issue" but hoping you can help.

Thanks again.

hodgigre avatar Oct 19 '19 20:10 hodgigre

@hodgigre - Did you ever get this ironed out? I'm looking at using ineo, but need instances to start at boot as well so they act as if they are services.

numericOverflow avatar Apr 08 '20 15:04 numericOverflow

Have you tried to use ineo's feature to implement a service as well?

When you enter ./ineo help install, it will show you:

$ ./ineo help install

  USAGE:
    install [options]

  DESCRIPTION:
    Install ineo

    Don't use this command if you already have ineo installed and working
    correctly. If root user installs ineo on a systemd OS, a systemd
    service will also be install to support autostart on instances.

  OPTIONS:
    -d <directory_name>  Directory name (absolute path) where ineo will be
                         installed

                         Default: ~/.ineo or /var/lib/ineo if using -S

    -S                   Install ineo as a service (only on systemd OSes)

Using the -S parameter will install a service to systemd, if supported by OS.

ogmueller avatar Apr 08 '20 19:04 ogmueller