Files
trainingstagebuch/tt-tagebuch.service
Torsten Schulz (local) 5357dac9e1
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 54s
chore: update file permissions for multiple files and add migration for club fee rules
- Changed file permissions from 644 to 755 for various files in the mobile-app and mobile-app_legacy_rn_expo directories, ensuring executable permissions where necessary.
- Added a new SQL migration script to the backend to introduce missing columns for club billing and invoice settings in the clubs table, maintaining synchronization with the current Sequelize model.
2026-07-17 11:51:24 +02:00

31 lines
658 B
Desktop File
Executable File

[Unit]
Description=TT-Tagebuch Node.js Service
After=network.target mysql.service
[Service]
Type=simple
User=www-data
Group=www-data
WorkingDirectory=/var/www/tt-tagebuch.de/backend
ExecStart=/usr/bin/node server.js
Restart=always
RestartSec=10
StandardOutput=journal
StandardError=journal
SyslogIdentifier=tt-tagebuch
# Umgebungsvariablen
Environment=NODE_ENV=production
# PORT: HTTP-Server für API (wird von Apache auf Port 443 proxied)
Environment=PORT=3050
# HTTPS_PORT: HTTPS-Server für Socket.IO (direkt erreichbar auf Port 3051)
Environment=HTTPS_PORT=3051
# Sicherheit
NoNewPrivileges=true
PrivateTmp=true
[Install]
WantedBy=multi-user.target