mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
13 lines
217 B
Bash
13 lines
217 B
Bash
#!/bin/bash
|
|
|
|
# Copy data
|
|
cp -rnf /var/www/baikal/* /data/
|
|
|
|
# Fix permissions
|
|
chown -R nginx:nginx /data
|
|
|
|
# Start app
|
|
/./etc/init.d/php8.1-fpm start && \
|
|
chown -R nginx:nginx /data/Specific && \
|
|
nginx -g "daemon off;"
|