mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
[fix] Owner of live
This commit is contained in:
parent
133eeb1cef
commit
04fc6dcc4b
1 changed files with 3 additions and 0 deletions
|
@ -37,6 +37,9 @@ sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf
|
|||
# Stop Mastodon Services
|
||||
sudo systemctl stop mastodon-*.service
|
||||
|
||||
# Change owner of live folder
|
||||
sudo chown -R $app: $final_path/live
|
||||
|
||||
# Download Mastodon
|
||||
sudo su - $app <<PULLCOMMANDS
|
||||
pushd ~/live
|
||||
|
|
Loading…
Reference in a new issue