Update install

This commit is contained in:
ericgaspar 2022-03-27 14:34:15 +02:00
parent f8c90ca531
commit 698c9f101b
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -106,9 +106,12 @@ ynh_script_progression --message="Setting up wings binarie..." --weight=1
mkdir -p /etc/pterodactyl mkdir -p /etc/pterodactyl
ynh_setup_source --dest_dir="/usr/local/bin/wings" --source_id="wings" ynh_setup_source --dest_dir="/etc/pterodactyl" --source_id="wings"
chmod u+x "/usr/local/bin/wings" chmod 750 "/etc/pterodactyl"
chmod -R o-rwx "/etc/pterodactyl"
chown -R $app:www-data "/etc/pterodactyl"
chmod +x "/etc/pterodactyl/wings"
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION
@ -167,7 +170,7 @@ chown -R $app:www-data "$final_path"
ynh_script_progression --message="Configuring a systemd service..." --weight=1 ynh_script_progression --message="Configuring a systemd service..." --weight=1
mkdir -p /var/log/$app/ mkdir -p /var/log/$app/
touch /var/log/$app/$app-prod.log touch /var/log/$app/$app.log
# Create a dedicated systemd config # Create a dedicated systemd config
ynh_add_systemd_config ynh_add_systemd_config