feat: Initial commit.

This commit is contained in:
2026-04-16 12:58:54 +02:00
commit 6caad6ee97
29 changed files with 518 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
if [[ -d "/domains/sslguard.skyger.cz/vendor/" ]];
then
exec php-fpm -F;
else
# composer install
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \
php composer-setup.php && \
php -r "unlink('composer-setup.php');" && \
mv composer.phar /usr/local/bin/composer;
cd /domains/sslguard.skyger.cz/ && \
composer update;
exec php-fpm -F;
fi;
exit;