From 4767c4ab44c5c4f463a20034898c712a5e679d53 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Wed, 25 Mar 2020 21:54:22 -0400 Subject: [PATCH] mastodon --- multipass.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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