Skip to content

Commit add69e7

Browse files
committed
start apache2 in the background in startupservice.sh
1 parent 42d3630 commit add69e7

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

docker-compose.yml

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ services:
3434
networks:
3535
- dev-backend
3636
environment:
37+
USER: sysadmin
3738
MYSQL_ROOT_PASSWORD: root
3839
PMA_HOST: db-dev
3940
PMA_PORT: 3306

sysadmin-ssh-keys/README.md

-2
This file was deleted.

web/config-web/startupservice.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ E1="$(printf "\e[1m")" # bold
88

99
/sbin/apache2ctl -v
1010
echo "${E1}Starting webserver: http://127.0.0.1:8080${E0}"
11-
# Start Apache in the foreground
12-
/sbin/apache2ctl -D FOREGROUND -k start
11+
# Start Apache in the background
12+
/sbin/apache2ctl -k start
1313

1414
# Start SSH service
15-
#/usr/sbin/sshd
15+
/usr/sbin/sshd -D

0 commit comments

Comments
 (0)