This guide is about using VAST with
systemd. This requires that you
already installed VAST on Linux.
Please use the official systemd unit file from our VAST repository.
vast.service provides a
systemd service unit for running VAST as system
service. The service is sandboxed and runs with limited privileges.
Prepare the Host System
Please note that all subsequent commands require
root privileges. The service
requires a user and group called
vast. You can create them as follows.
Make sure that you don't grant any special rights to this user, i.e., do not
sudo or other privileged commands for this user.
Once the user exists, you should create the directory for VAST's persistent data
storage and change the permissions such that it is owned by the new
The systemd unit passes a
file to the VAST process. Make sure that the new user can read the
and change permissions if required.
Before you begin, find the line beginning with
ExecStart= at the very bottom
[Service] section in the unit file. Depending on your installation path
you might need to change the location of the
vast binary and configuration
Then copy (or symlink) the unit file to
To have the service start up automatically with system boot, you can
systemd. Otherwise, just
start it to run it immediately.