18 lines
518 B
Bash
18 lines
518 B
Bash
# 必要なファイルをコピー
|
|
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
|