- 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/
11 lines
330 B
Desktop File
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
|