|
|
@ -23,6 +23,8 @@ os.makedirs(base + "configs", exist_ok=True)
|
|
|
|
conf.jinja("/defaults/default.ini", os.environ, "/data/_data_/_default_/domains/default.ini")
|
|
|
|
conf.jinja("/defaults/default.ini", os.environ, "/data/_data_/_default_/domains/default.ini")
|
|
|
|
conf.jinja("/defaults/application.ini", os.environ, "/data/_data_/_default_/configs/application.ini")
|
|
|
|
conf.jinja("/defaults/application.ini", os.environ, "/data/_data_/_default_/configs/application.ini")
|
|
|
|
conf.jinja("/defaults/php.ini", os.environ, "/etc/php7/php.ini")
|
|
|
|
conf.jinja("/defaults/php.ini", os.environ, "/etc/php7/php.ini")
|
|
|
|
|
|
|
|
# Start the fastcgi process manager now that config files have been adjusted
|
|
|
|
|
|
|
|
os.system("php-fpm7")
|
|
|
|
|
|
|
|
|
|
|
|
os.system("chown -R nginx:nginx /data")
|
|
|
|
os.system("chown -R nginx:nginx /data")
|
|
|
|
os.system("chmod -R a+rX /var/www/rainloop/")
|
|
|
|
os.system("chmod -R a+rX /var/www/rainloop/")
|
|
|
|