docker-scripts/linux/discontinued/syspass/sysPass/init-functions
STAM 511a8a115a
infrastructure improvements + drop ASTRA SE\CE 1.7 support
update requirements.txt


github actions runs-on: ubuntu-24.04



make pip fix

- failsafe
- systemwide

zabbix 7 + zabbix fixes

cleanup

ci

wip: fixes, nginx update, support update

wip: bookworm 12 base updates

wip: requirements.txt cleanup

zabbix USER fix

WIP: debian 12 develop improvements
2024-08-17 16:55:42 +03:00

18 lines
529 B
Plaintext

if [ ${SYSPASS_DEV} -eq 1 ]; then
COMPOSER_OPTIONS="--working-dir ${SYSPASS_DIR} --optimize-autoloader --dev"
fi
setup_apache () {
if [ ${SYSPASS_DEV} -eq 0 ]; then
return 0
fi
echo -e "${COLOR_YELLOW}setup_apache: Setting up xdebug variables${COLOR_NC}"
sed -i 's/__XDEBUG_REMOTE_HOST__/'"$XDEBUG_REMOTE_HOST"'/' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
sed -i 's/__XDEBUG_IDE_KEY__/'"$XDEBUG_IDE_KEY"'/' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
}
run_apache () {
apache2-foreground
}