- Refactored FastCGIServer class to improve socket handling and added shutdown functionality. - Updated compiler functions to streamline HTML and text literal processing. - Enhanced split_kv function to support uppercase keys and added split_http_headers for better HTTP header parsing. - Introduced new session management functions to validate and handle session IDs. - Added WebSocket frame parsing and handling in the URI module. - Created systemd service scripts for easier deployment and management of the UCE FastCGI runtime. - Added new test cases for header handling, time parsing, and WebSocket functionality.
23 lines
638 B
Desktop File
23 lines
638 B
Desktop File
[Unit]
|
|
Description=UCE FastCGI Runtime
|
|
After=network-online.target mariadb.service memcached.service
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/Code/uce.openfu.com/uce
|
|
ExecStartPre=/usr/bin/mkdir -p /tmp/uce/work /tmp/uce/uploads /tmp/uce/sessions
|
|
ExecStartPre=/usr/bin/rm -f /run/uce.sock
|
|
ExecStartPre=/usr/bin/bash /Code/uce.openfu.com/uce/scripts/build_linux.sh
|
|
ExecStart=/Code/uce.openfu.com/uce/bin/uce_fastcgi.linux.bin
|
|
ExecStopPost=/usr/bin/rm -f /run/uce.sock
|
|
Restart=always
|
|
RestartSec=2
|
|
TimeoutStopSec=15
|
|
KillMode=mixed
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|