update tower service to correct labels and users
This commit is contained in:
parent
3d6bd6385f
commit
373e137993
@ -35,9 +35,9 @@ your CLI PATH.
|
||||
|
||||
```bash
|
||||
sudo mkdir -p /opt/projects/homelab
|
||||
sudo chown herbyadmin:herbyadmin /opt/projects/homelab
|
||||
sudo chown trucktrav:trucktrav /opt/projects/homelab
|
||||
cd /opt/projects/homelab
|
||||
git clone gitea-lovebug:petal-power/second-brain.git
|
||||
git clone gitea-pbs-trucktrav:petal-power/second-brain.git
|
||||
cd second-brain
|
||||
|
||||
# Install the runtime deps + the `tower` extra (faster-whisper / CTranslate2).
|
||||
@ -63,7 +63,7 @@ The worker assumes the tunnel is already configured and that
|
||||
| Peer | WG IP |
|
||||
|------|-------|
|
||||
| hub (herbydev) | `10.99.0.1` |
|
||||
| tower | `10.99.0.2` |
|
||||
| tower | `10.99.0.3` |
|
||||
|
||||
`db.wg.herbylab.dev` resolves to `10.99.0.1`. Confirm connectivity from
|
||||
the tower:
|
||||
|
||||
@ -9,8 +9,8 @@ Wants=network-online.target wg-quick@wg-lan.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=herbyadmin
|
||||
Group=herbyadmin
|
||||
User=trucktrav
|
||||
Group=trucktrav
|
||||
|
||||
# Adjust to wherever you `git clone`d the repo on the tower.
|
||||
WorkingDirectory=/opt/projects/homelab/second-brain
|
||||
|
||||
Loading…
Reference in New Issue
Block a user