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.
- Host: GitHub
- URL: https://github.com/toitlang/setup-artemis-borgs
- Owner: toitlang
- Created: 2025-03-05T15:05:44.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-13T08:59:06.000Z (2 months ago)
- Last Synced: 2025-03-13T09:37:50.775Z (2 months ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```