Files
ansible-lemp-wordpress/docker/start-services.sh
Sebastian Palencsar 1fa863f107 fix: replace mysql-server with mariadb-server for Debian 12/13 compatibility
- 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
2026-05-06 12:59:15 +02:00

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