Running a startup "task/script"

Discussion in 'Solaris, Nexenta, OpenIndiana, and napp-it' started by Davewolfs, Oct 6, 2019.

  1. Davewolfs

    Davewolfs Active Member

    Joined:
    Aug 6, 2015
    Messages:
    329
    Likes Received:
    31
    I've recently updated to the latest LTS release for OmniOS and have also updated to a newer ESXi 6.5 release. When my system power cycles. It doesn't seem like ESXi will rescan my NFS mount even though it is available. This used to happen automatically.

    If I need to login to my ESXi machine from OmniOS and execute a command how can I trigger a script to run on startup before say vmtools starts. Trying to see what triggers vmtools but am unable to find anything.
     
    #1
  2. Davewolfs

    Davewolfs Active Member

    Joined:
    Aug 6, 2015
    Messages:
    329
    Likes Received:
    31
    Strange. Updated my firmware and changed the order and set it back and things are working again. Still would be good to know how to run a task on startup.
     
    #2
  3. gea

    gea Well-Known Member

    Joined:
    Dec 31, 2010
    Messages:
    2,261
    Likes Received:
    750
    On Solarish level you can start a service or application on bootup either with a service manifest or an init file in /etc/init.d (like I do with napp-it).

    Within napp-it you can create an "other job" with a timetable every+minute=once. You can also use menu Services > "Bonjour and autostart".
     
    #3
    Davewolfs likes this.
Similar Threads: Running startup
Forum Title Date
Solaris, Nexenta, OpenIndiana, and napp-it Should SMB service be running at startup? Aug 23, 2013
Solaris, Nexenta, OpenIndiana, and napp-it Running Plex in a zone under OmniOS (Performance Penalty?) Mar 3, 2016
Solaris, Nexenta, OpenIndiana, and napp-it Napp It- vmtools running but "unsupported" should I do anything? Feb 23, 2016
Solaris, Nexenta, OpenIndiana, and napp-it running a mysql server on Napp It Jul 6, 2015
Solaris, Nexenta, OpenIndiana, and napp-it OmniOS/OpenIndiana running from Thumb Drive Feb 12, 2014

Share This Page