Change root path in dist/nginx.conf to /var/lib/mastodon/public

This commit is contained in:
Anthony Wang 2022-08-25 18:15:16 -05:00
parent 6196003ff7
commit 2da2295825
Signed by: a
GPG key ID: BC96B00AEC5F2D76

View file

@ -72,6 +72,8 @@ package() {
sed -e 's/home\/mastodon\/live/var\/lib\/mastodon/g' \
-e 's/home\/mastodon\/.rbenv\/shims/usr\/bin/' \
-i mastodon-*.service
sed -e 's/home\/mastodon\/live/var\/lib\/mastodon/g' \
-i dist/nginx.conf
install -Dm 644 mastodon-*.service -t "$pkgdir"/usr/lib/systemd/system
}