- Deleted apps/web/src/utils/optimisticStoreUpdates.ts (unused file) - File was unused - no imports found in codebase - Mutations already use React Query's onMutate pattern - No TypeScript errors after deletion - Actions 4.4.1.2 and 4.4.1.3 complete
33 lines
814 B
Desktop File
33 lines
814 B
Desktop File
[Unit]
|
|
Description=Veza Backend API Service
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
WorkingDirectory=/opt/veza/backend-api
|
|
# Use wrapper script to ensure environment variables are loaded
|
|
ExecStart=/opt/veza/backend-api/start-backend-api.sh
|
|
Restart=always
|
|
RestartSec=5
|
|
# Use journald instead of file redirection to avoid broken pipe issues
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
StandardInput=null
|
|
SyslogIdentifier=veza-backend-api
|
|
|
|
# Environment variables - CRITICAL: Must be loaded (also loaded by wrapper script)
|
|
EnvironmentFile=/etc/veza/backend-api.env
|
|
|
|
# Ensure log directory exists (for application logs, not systemd logs)
|
|
ExecStartPre=/bin/mkdir -p /var/log/veza
|
|
|
|
# Security
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
|
|
# Resource limits
|
|
LimitNOFILE=65536
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|