An open API service indexing awesome lists of open source software.

https://github.com/toitlang/setup-artemis-borgs

Instructions on how to set up a server with Artemis borgs.
https://github.com/toitlang/setup-artemis-borgs

Last synced: 19 days ago
JSON representation

Instructions on how to set up a server with Artemis borgs.

Awesome Lists containing this project

README

        

# Artemis Borgs
Instructions on how to set up a server with Artemis borgs.

## Setup
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.

## Service
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/`

```bash
sudo cp [email protected] /etc/systemd/system/
```

Reload the systemd units.
```bash
sudo systemctl daemon-reload
```

Enable 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:
```bash
systemctl status artemis-borg@pi-01
```

Or use journalctl:
```
journalctl -u [email protected] -f
```