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
|
# Stop Mastodon Services
|
||||||
sudo systemctl stop mastodon-*.service
|
sudo systemctl stop mastodon-*.service
|
||||||
|
|
||||||
|
# Change owner of live folder
|
||||||
|
sudo chown -R $app: $final_path/live
|
||||||
|
|
||||||
# Download Mastodon
|
# Download Mastodon
|
||||||
sudo su - $app <<PULLCOMMANDS
|
sudo su - $app <<PULLCOMMANDS
|
||||||
pushd ~/live
|
pushd ~/live
|
||||||
git fetch
|
git fetch
|
||||||
|
git reset --hard origin/master
|
||||||
git pull https://github.com/tootsuite/mastodon.git master
|
git pull https://github.com/tootsuite/mastodon.git master
|
||||||
PULLCOMMANDS
|
PULLCOMMANDS
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue