On FreeBSD, we currently only offer a source build until we have VAST port available.

Service Management

FreeBSD uses the rc(8) system of startup scripts during system initialization and for managing services. VAST ships with an rc script (similar to the ones in /etc/rc.d and /usr/local/etc/rc.d) that allows service(8) to manage a vast process with the start, stop, and restart options. The rc script uses daemon(8) to manage the vast process.

The following steps install VAST as a persistent service:

  1. Copy the rc script to /usr/local/etc/rc.d.


    This happens automatically when invoking the install target, e.g., via cmake --build build --target install.

  2. Add the following line to /etc/rc.conf:

  3. Start the service:

    service vast start

    During the first start, the rc script checks whether a vast user and group exist already. These are necessary so that daemon(8) can start VAST in an unprivileged context.