[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
