Index  Up  >>  


Starting, Stopping, and Re-starting the Servers

The following commands need to have VENDROOT changed to the main directory where you installed MiniVend. If you made /home/minivend your MiniVend base directory, the start command would be /home/minivend/bin/start.

To start the server:

    VENDROOT/bin/start

          or

    VENDROOT/bin/minivend -serve

Assuming the server starts correctly, you will see the names of catalogs as they are configured, along with a message stating the process ID it is running under.

To re-start the server:

    VENDROOT/bin/restart

          or

    VENDROOT/bin/stop; VENDROOT/bin/minivend -serve

This is typically done to force MiniVend to re-read its configuration. You will see a message stating that a TERM signal has been sent to the process ID the servers are running under -- that information is also sent to /home/minivend/error.log. Check the error.log file for confirmation that the server has restarted properly.

To stop the server:

    VENDROOT/bin/stop

You will see a message stating that a TERM signal has been sent to the process ID the server is running under -- that information is also sent to /home/minivend/error.log.

Because processes waiting for selection on some operating systems block signals, they may have to wait for HouseKeeping seconds to stop. The default is 60.

Index  Up  >>