[Unit]
Description=Director UI (Vite)
After=network.target director-api.service

[Service]
Type=simple
User=joe
Group=joe
WorkingDirectory=/data/director/app/ui
ExecStart=/usr/bin/npx vite --host --port 3000
Environment=NODE_ENV=production
Restart=on-failure
RestartSec=5

[Install]
WantedBy=multi-user.target
