- API
- Security & Authentication
- System & Performance
- Profiles - Datasources - Filters - Lists
- Users - Collections - Service Accounts
- Data Management & Processing
- Support
- Release Notes
Linux: Enable Angelfish To Start at Boot
For Linux environments, here are steps for enabling Angelfish to boot at startup using systemd.
These steps are based on instructions from this Red Hat help article
CREATE 'angelfish.service' FILE
- File needs to be placed in /etc/systemd/system/ with permissions of 664
- You will need root or sudo privileges to create this file
Example angelfish.service file:
[Unit]Description = Start Angelfish at bootAfter = network.target
[Service]User = angelfishExecStart = /usr/local/agfs/agfsctl --startExecStop = /usr/local/agfs/agfsctl --stopType = forking
[Install]WantedBy = multi-user.target
Notes:
- You can copy and paste the above into the angelfish.service file
- Be sure to update the following variables to match your environment:
- User: the service account used to start/stop Angelfish
- ExecStart: full path to "agfsctl --start"
- ExecStop: full path to "agfsctl --stop"
REGISTER angelfish.service FILE
Run the following commands as root:
systemctl daemon-reloadsystemctl enable angelfish.service
Angelfish will now boot at startup!
You can start / stop Angelfish by calling the agfsctl binary directly, or by running the following:
systemctl start angelfish.servicesystemctl stop angelfish.service