This commit is contained in:
Paul Trowbridge 2020-03-25 21:54:22 -04:00
parent 312adb6ff1
commit 4767c4ab44
1 changed files with 7 additions and 1 deletions

View File

@ -99,7 +99,7 @@ this will prompt smtp setup
compilation failed, complained about memory
setup service files:
setup nginx files:
```
cp /home/mastodon/live/dist/nginx.conf /etc/nginx/sites-available/mastodon
ln -s /etc/nginx/sites-available/mastodon /etc/nginx/sites-enabled/mastodon
@ -108,6 +108,12 @@ ln -s /etc/nginx/sites-available/mastodon /etc/nginx/sites-enabled/mastodon
then you have to replace example.com with a target domain in the nginx files
using vim -> `:%s/example.com/hptrow.me`
copy sevice files:
```
cp /home/mastodon/live/dist/mastodon-*.service /etc/systemd/system/
```
setup load services
```
sudo systemctl daemon-reload