1
0
Fork 0
forked from gitea/nas

Update setup script

This commit is contained in:
KMY 2023-09-17 12:12:48 +09:00
parent 39a2e1a1f6
commit 6238e80b08
2 changed files with 10 additions and 2 deletions

View file

@ -1,5 +1,7 @@
# 必要なファイルをコピー
# これを設定しておかないと、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/