Update and move scripts
This commit is contained in:
parent
8b6e65d6fe
commit
7744b2a1ce
4 changed files with 10 additions and 9 deletions
20
install/5.0/setup3.sh
Normal file
20
install/5.0/setup3.sh
Normal file
|
@ -0,0 +1,20 @@
|
|||
# これを設定しておかないと、Web表示時にNginxがPermission Errorを起こす
|
||||
chmod o+x /home/mastodon
|
||||
|
||||
# 必要なファイルをコピー
|
||||
cp /home/mastodon/live/dist/nginx.conf /etc/nginx/sites-available/mastodon
|
||||
ln -s /etc/nginx/sites-available/mastodon /etc/nginx/sites-enabled/mastodon
|
||||
cp /home/mastodon/live/dist/mastodon-*.service /etc/systemd/system/
|
||||
systemctl daemon-reload
|
||||
|
||||
# ---------------------------------------------------
|
||||
|
||||
cat << EOF
|
||||
|
||||
============== [kmyblue setup script 3 completed] ================
|
||||
|
||||
Input this command to continue setup:
|
||||
sudo su - mastodon
|
||||
./setup4.sh
|
||||
|
||||
EOF
|
Loading…
Add table
Add a link
Reference in a new issue