Instructions on how to set up a server with Artemis borgs.
Create a new directory for each borg. Name each pi-xx, like
pi-01.
Use artemis device extract --format=tar ... to obtain
a tar that can be extracted and run in each directory.
Directories should have a boot.sh script in their root.
Copy the [email protected] to [email protected] and
adjust it (replacing the username and potentially the path).
Copy the [email protected] file to /etc/systemd/system/
sudo cp [email protected] /etc/systemd/system/Reload the systemd units.
sudo systemctl daemon-reloadEnable and start all services.
for dir in pi-*; do sudo systemctl enable artemis-borg@$dir.service; done
for dir in pi-*; do sudo systemctl start artemis-borg@$dir.service; done
Verify that it is correctly running:
systemctl status artemis-borg@pi-01Or use journalctl:
journalctl -u [email protected] -f