something something
This commit is contained in:
19
buildfiles/start_services.sh
Normal file
19
buildfiles/start_services.sh
Normal file
@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
#Default auto configs
|
||||
if ! [ -f init/init ]
|
||||
then ./auto_config.sh
|
||||
fi
|
||||
|
||||
#Start Php-fpm
|
||||
cd && node &
|
||||
|
||||
#Start frontend
|
||||
cd && node &
|
||||
|
||||
|
||||
|
||||
# Wait for any process to exit
|
||||
wait -n
|
||||
# Exit with status of process that exited first
|
||||
exit $?
|
Reference in New Issue
Block a user