[Unit] Description=RPA Vision V3 - API Upload Server After=network.target Wants=network-online.target [Service] Type=simple User=rpa Group=rpa WorkingDirectory=/opt/rpa_vision_v3/server Environment="PATH=/opt/rpa_vision_v3/venv_v3/bin:/usr/bin" Environment="ENCRYPTION_PASSWORD=CHANGE_ME_IN_PRODUCTION" Environment="ENVIRONMENT=production" ExecStart=/opt/rpa_vision_v3/venv_v3/bin/python api_upload.py Restart=always RestartSec=5 StandardOutput=journal StandardError=journal # Sécurité NoNewPrivileges=true ProtectSystem=strict ProtectHome=true ReadWritePaths=/opt/rpa_vision_v3/data [Install] WantedBy=multi-user.target