- Complete PHP web application for video subtitle generation - AI-powered transcription using OpenAI Whisper - Translation support via DeepL API (46+ languages) - Video processing with FFmpeg subtitle burning - Dual processing modes: Translate & Burn, and Reburn Subtitles - Comprehensive production installation guide - SystemD service configuration for production deployment - Dark mode responsive web interface - Automated file cleanup and logging system 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
No EOL
833 B
Desktop File
28 lines
No EOL
833 B
Desktop File
[Unit]
|
|
Description=Video Subtitle Processor Web Application
|
|
After=network.target mysql.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
User=www-data
|
|
Group=www-data
|
|
WorkingDirectory=/var/www/html/subtitle-processor
|
|
Environment=PATH=/var/www/html/subtitle-processor/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
ExecStart=/usr/sbin/apache2ctl start
|
|
ExecReload=/usr/sbin/apache2ctl graceful
|
|
ExecStop=/usr/sbin/apache2ctl stop
|
|
Restart=always
|
|
RestartSec=10
|
|
|
|
# Security settings
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ReadWritePaths=/var/www/html/subtitle-processor/uploads
|
|
ReadWritePaths=/var/www/html/subtitle-processor/processed
|
|
ReadWritePaths=/var/www/html/subtitle-processor/subtitles
|
|
ReadWritePaths=/var/www/html/subtitle-processor/logs
|
|
ReadWritePaths=/var/log/apache2
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |