WIP: Untested, solo caricati file di test
This commit is contained in:
@@ -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
|
||||
@@ -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 $?
|
||||
Reference in New Issue
Block a user