diff --git a/multipass.md b/multipass.md index 71d4025..f75cd93 100644 --- a/multipass.md +++ b/multipass.md @@ -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