[Unit]
Description=Veza Stream Server Service
After=network.target

[Service]
Type=simple
User=root
WorkingDirectory=/opt/veza/stream-server
ExecStart=/usr/local/bin/veza-stream-server
Restart=always
RestartSec=5
StandardOutput=journal
StandardError=journal
SyslogIdentifier=veza-stream-server

# Environment variables
EnvironmentFile=/etc/veza/stream-server.env

# Security
NoNewPrivileges=true
PrivateTmp=true

# Resource limits
LimitNOFILE=65536

[Install]
WantedBy=multi-user.target
