Setting Up User for Auto Login

Once the shell script has been modified and saved to the correct location, your next step is to attach the script to the admin user's login items. To attach the script to the admin user's login items, follow these steps:

  1. Select the "System Preferences" icon

  2. Select the "Users and Groups" option under the System section

  3. Then, set up the user for automatic login, as shown in the following screen:

Set Up User for Automatic Log In

Finally, follow these last steps:

  1. Highlight the user in the "My Account" column

  2. Select the "Login Items" tab

  3. Select the "+" symbol

  4. Then browse to locate and then add the startbm.command file from the user's home directory

  5. The following screen illustrates this process:

Link Shell Script to User

Once you have completed these steps, you are done! The xTuple Connect Batch Manager will now restart automatically whenever the machine it is running on is rebooted.