Files
production-analytics/deploy/systemd/README-downtime.md
T

22 lines
1.0 KiB
Markdown

# E4 and Adorf downtime runners
The eight service files use the existing `run downtime-reconcile` command, one
process per machine. Each loads its matching `config/*-downtime.yaml` file and
uses the existing ENLYZE, ERP, and PostgreSQL environment files. They follow the
installed B1/E1/K7 service settings.
From `/opt/git-projects/production-analytics`, install and enable them with:
```bash
sudo install -m 0644 deploy/systemd/production-analytics-downtime-{e4,gitter1,gitter2,gitter3,gitter4,k5,secumat12,secumat3}.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable --now production-analytics-downtime-{e4,gitter1,gitter2,gitter3,gitter4,k5,secumat12,secumat3}.service
```
The unit names are `production-analytics-downtime-e4.service`,
`production-analytics-downtime-gitter1.service` through
`production-analytics-downtime-gitter4.service`,
`production-analytics-downtime-k5.service`,
`production-analytics-downtime-secumat12.service`, and
`production-analytics-downtime-secumat3.service`.