diff --git a/multipass.md b/multipass.md index 90d5b1f..71d4025 100644 --- a/multipass.md +++ b/multipass.md @@ -99,3 +99,17 @@ this will prompt smtp setup compilation failed, complained about memory +setup service 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 +``` + +then you have to replace example.com with a target domain in the nginx files +using vim -> `:%s/example.com/hptrow.me` + +setup load services +``` +sudo systemctl daemon-reload +sudo systemctl start mastodon-web mastodon-sidekiq mastodon-streaming +sudo systemctl enable mastodon-* \ No newline at end of file