1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lemmy_ynh.git synced 2024-09-03 19:36:09 +02:00

Fix: persmission issue

This commit is contained in:
anmol26s 2021-02-24 18:22:37 +05:30
parent 700f81f3b1
commit 546bf1c5e9
3 changed files with 8 additions and 2 deletions

View file

@ -148,7 +148,9 @@ ynh_systemd_action --service_name=nginx --action=reload
#================================================= #=================================================
# Run Lemmy through Docker # 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 cd "$final_path" && docker-compose up -d

View file

@ -76,6 +76,9 @@ curl -L https://github.com/docker/compose/releases/download/${version}/docker-co
#================================================= #=================================================
# Run Lemmy through Docker # Run Lemmy through Docker
#================================================= #=================================================
# chown -R $(whoami) /usr/local/bin
chmod +x /usr/local/bin/docker-compose
cd "$final_path" && docker-compose up -d cd "$final_path" && docker-compose up -d
#================================================= #=================================================

View file

@ -121,7 +121,8 @@ ynh_systemd_action --service_name=nginx --action=reload
#================================================= #=================================================
# Run Lemmy through Docker # 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 cd "$final_path" && docker-compose up -d
#================================================= #=================================================