- Use mariadb-server instead of mysql-server (works on both Ubuntu and Debian) - Update mysql_service to mariadb for proper service management - Update docker/Dockerfile and start-services.sh for MariaDB
18 lines
292 B
Bash
Executable File
18 lines
292 B
Bash
Executable File
#!/bin/bash
|
|
# Services für LEMP-Stack starten
|
|
|
|
# MySQL/MariaDB starten
|
|
service mysql start || service mariadb start
|
|
|
|
# PHP-FPM starten
|
|
service php8.4-fpm start
|
|
|
|
# Nginx starten
|
|
service nginx start
|
|
|
|
# SSH-Server für Ansible
|
|
service ssh start
|
|
|
|
# Container am Leben halten
|
|
tail -f /dev/null
|