diff --git a/scripts/install b/scripts/install index a21dac2..b02ed40 100755 --- a/scripts/install +++ b/scripts/install @@ -148,7 +148,9 @@ ynh_systemd_action --service_name=nginx --action=reload #================================================= # Run Lemmy through Docker #================================================= -chown -R $(whoami) /usr/local/bin +# chown -R $(whoami) /usr/local/bin + +chmod +x /usr/local/bin/docker-compose cd "$final_path" && docker-compose up -d diff --git a/scripts/restore b/scripts/restore index 09470e6..a5fa025 100755 --- a/scripts/restore +++ b/scripts/restore @@ -76,6 +76,9 @@ curl -L https://github.com/docker/compose/releases/download/${version}/docker-co #================================================= # Run Lemmy through Docker #================================================= +# chown -R $(whoami) /usr/local/bin + +chmod +x /usr/local/bin/docker-compose cd "$final_path" && docker-compose up -d #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index a270797..b97d808 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -121,7 +121,8 @@ ynh_systemd_action --service_name=nginx --action=reload #================================================= # Run Lemmy through Docker #================================================= -chown -R $(whoami) /usr/local/bin +#chown -R $(whoami) /usr/local/bin +chmod +x /usr/local/bin/docker-compose cd "$final_path" && docker-compose up -d #=================================================