more notes
This commit is contained in:
31
README.md
31
README.md
@@ -16,6 +16,11 @@ Connect solely through wireguard to `192.168.1.142` and serve the REST server wi
|
|||||||
|
|
||||||
## Restic Repos
|
## Restic Repos
|
||||||
|
|
||||||
|
`/etc/fstab` entry:
|
||||||
|
```
|
||||||
|
john-nas:/volume1/restic /mnt/nfs/restic nfs nofail,_netdev,x-systemd.automount,x-systemd.idle-timeout=600,timeo=14,retrans=3,hard,tcp,nfsvers=3 0 0
|
||||||
|
```
|
||||||
|
|
||||||
Mounted using a bind mount point in the LXC.
|
Mounted using a bind mount point in the LXC.
|
||||||
|
|
||||||
https://pve.proxmox.com/wiki/Linux_Container#_bind_mount_points
|
https://pve.proxmox.com/wiki/Linux_Container#_bind_mount_points
|
||||||
@@ -40,8 +45,34 @@ Check the resultant certificate:
|
|||||||
openssl x509 -noout -subject -issuer -ext extendedKeyUsage -ext subjectAltName -in certs/soteria.crt
|
openssl x509 -noout -subject -issuer -ext extendedKeyUsage -ext subjectAltName -in certs/soteria.crt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Set up renewal
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo ./scripts/install_services.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
Test renewal
|
||||||
|
|
||||||
|
```
|
||||||
|
systemctl start cert-renewer.service && \
|
||||||
|
systemctl status cert-renewer.service --no-pager && \
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
## Clients
|
## Clients
|
||||||
|
|
||||||
|
To set up a client, run the following command. It will prompt for the provisioner password and the repository name.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -sL https://gitea.john-stream.com/john/soteria/raw/branch/main/scripts/setup_client.sh | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -sL https://gitea.john-stream.com/john/soteria/raw/branch/main/scripts/check_status.sh | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
### Manual Setup
|
||||||
|
|
||||||
Set up provisioner password by running this and pasting in the current JWK provisioner password for `admin`
|
Set up provisioner password by running this and pasting in the current JWK provisioner password for `admin`
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user