WIP: Untested, solo caricati file di test

This commit is contained in:
Riccardo Di Dato
2020-09-23 00:05:00 +02:00
parent 0c74df1983
commit d1f4f4c50c
44 changed files with 1034 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
[opcache]
opcache.enable=1
opcache.enable_cli=1
opcache.memory_consumption=128
opcache.interned_strings_buffer=16
opcache.max_accelerated_files=10000
opcache.revalidate_freq=360
opcache.validate_timestamps=0
opcache.preload=/var/www/§PROJECT_BUILDNAME§/load.php
opcache.preload_user=www-data
;opcache.blacklist_filename=/var/www/contents-manager-service/index.php
opcache.fast_shutdown=1
+21
View File
@@ -0,0 +1,21 @@
#!/bin/bash
function exit_func {
echo "SIGTERM detected"
exit 1
}
trap exit_func SIGTERM SIGINT
ASD_BINDIR="/home/asdynamics/private/${ASD_BUILDNAME}/bin"
$ASD_BINDIR/ensureConstraints.php
if [ $? -ne 0 ]; then
echo "Impossible to ensure constraints";
exit 1;
fi
mkdir -p "/tmp/asdynamics/${ASD_BUILDNAME}"
$ASD_BINDIR/processJobs.php & wait
exit $?