mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
commit
b85c9cb43d
1 changed files with 4 additions and 0 deletions
|
@ -37,10 +37,14 @@ 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
|
||||
git fetch
|
||||
git reset --hard origin/master
|
||||
git pull https://github.com/tootsuite/mastodon.git master
|
||||
PULLCOMMANDS
|
||||
|
||||
|
|
Loading…
Reference in a new issue