summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Wang2022-08-25 18:15:16 -0500
committerAnthony Wang2022-08-25 18:15:16 -0500
commit2da2295825c262e504d15c1faaab3de5853ee924 (patch)
tree98ab87a68c19256f8be9fec134ea68fa1f6685ca
parent6196003ff71508f92916d334fecbf9697e91748d (diff)
downloadaur-2da2295825c262e504d15c1faaab3de5853ee924.tar.gz
Change root path in dist/nginx.conf to /var/lib/mastodon/public
-rw-r--r--PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 302e4f04c3c7..e159af0ef990 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}