Files
Autoparts-DB/systemd/nexus-mv-refresh.service
consultoria-as c766571b7d docs(infra): add PostgreSQL tuning and systemd service documentation
- POSTGRESQL_TUNING.md: documents applied config (8GB shared_buffers,
  64MB work_mem, 8GB max_wal_size, SSD params)
- SYSTEMD_SERVICES.md: lists all production systemd services
- systemd/: versioned copies of all .service and .timer files
- .gitignore: ignore package-lock.json and backups/
2026-04-29 06:30:22 +00:00

11 lines
330 B
Desktop File

[Unit]
Description=Refresh Nexus part_vehicle_preview materialized view
After=postgresql.service
[Service]
Type=oneshot
User=postgres
ExecStart=/usr/bin/python3 /home/Autopartes/scripts/refresh_part_vehicle_preview.py
StandardOutput=append:/var/log/nexus-pos/mv_refresh.log
StandardError=append:/var/log/nexus-pos/mv_refresh.log