mirror of
https://github.com/myronblair/infra
synced 2026-06-30 17:50:10 -05:00
Initial infra: cron, systemd units, agent config template, README
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# DO Server Infrastructure
|
||||
|
||||
DigitalOcean server at 165.22.1.228 (CyberPanel / OpenLiteSpeed).
|
||||
|
||||
## Directory Structure
|
||||
- `cron/` — Root crontab (CyberPanel + JARVIS entries)
|
||||
- `systemd/` — Custom systemd service units
|
||||
- `agent/` — JARVIS agent config template
|
||||
|
||||
## Deploy workflow
|
||||
1. Edit code in site repos (myronblair/*)
|
||||
2. `git push origin main`
|
||||
3. On server: `cd /home/<site>/public_html && git pull origin main`
|
||||
|
||||
## JARVIS agent install
|
||||
```bash
|
||||
cp agent/config.json /opt/jarvis-agent/config.json
|
||||
systemctl enable jarvis-agent
|
||||
systemctl start jarvis-agent
|
||||
```
|
||||
Reference in New Issue
Block a user