~sircmpwn/sr.ht-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH sr.ht-pkgbuilds 1/2] todo: add email processing service

Details
Message ID
<20200604233008.283647-1-admin@xenrox.net>
DKIM signature
pass
Download raw message
Patch: +16 -0
---
 todo.sr.ht/PKGBUILD                |  3 +++
 todo.sr.ht/todo.sr.ht-lmtp.service | 13 +++++++++++++
 2 files changed, 16 insertions(+)
 create mode 100644 todo.sr.ht/todo.sr.ht-lmtp.service

diff --git a/todo.sr.ht/PKGBUILD b/todo.sr.ht/PKGBUILD
index 081d980..8d32508 100644
--- a/todo.sr.ht/PKGBUILD
+++ b/todo.sr.ht/PKGBUILD
@@ -14,11 +14,13 @@ makedepends=("python-setuptools" "nodejs" "sassc")
source=(
	"$pkgname-$pkgver.tar.gz::http://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz"
	"todo.sr.ht.service"
	"todo.sr.ht-lmtp.service"
	"todo.sr.ht-webhooks.service"
	"sysusers.conf"
)
sha256sums=('c0548717813947eb29b0645236735a869b8c8a2997ea87e7ac59fc4e0b5f210d'
            '6c373a2df95e6062efd167de75b1d58af980a509a50b71507d07120c6b9358b2'
            '79ae025c6c4f40b8fda2444668704842c90348f42c291232296f6d0368e99b32'
            'd5253ecd8b74ba3a3d806ab84abd7c1c621fa562ac4aca52f71255854ef9e62a'
            'f9b1dbca0557b7b24654dcb0d7e7d990675ce251a3d2f380d87eb1d3aca93821')
export PKGVER=$pkgver
@@ -31,6 +33,7 @@ build() {
package() {
	cd $pkgbase-$pkgver
	install -Dm0644 ../todo.sr.ht.service -t "$pkgdir"/usr/lib/systemd/system/
	install -Dm0644 ../todo.sr.ht-lmtp.service -t "$pkgdir"/usr/lib/systemd/system/
	install -Dm0644 ../todo.sr.ht-webhooks.service -t "$pkgdir"/usr/lib/systemd/system/
	install -Dm0644 ../sysusers.conf "$pkgdir/usr/lib/sysusers.d/todo.sr.ht.conf"
	python3 setup.py install --root="${pkgdir}" --optimize=1
diff --git a/todo.sr.ht/todo.sr.ht-lmtp.service b/todo.sr.ht/todo.sr.ht-lmtp.service
new file mode 100644
index 0000000..01f278b
--- /dev/null
+++ b/todo.sr.ht/todo.sr.ht-lmtp.service
@@ -0,0 +1,13 @@
[Unit]
Description=todo.sr.ht mail processing daemon
Requires=postgresql.service
After=postgresql.service network.target

[Service]
Type=simple
User=todosrht
Restart=always
ExecStart=/usr/bin/todosrht-lmtp

[Install]
WantedBy=multi-user.target
--
2.27.0

[PATCH sr.ht-pkgbuilds 2/2] lists: add email processing services

Details
Message ID
<20200604233008.283647-2-admin@xenrox.net>
In-Reply-To
<20200604233008.283647-1-admin@xenrox.net> (view parent)
DKIM signature
pass
Download raw message
Patch: +32 -0
---
 lists.sr.ht/PKGBUILD                    |  6 ++++++
 lists.sr.ht/lists.sr.ht-lmtp.service    | 13 +++++++++++++
 lists.sr.ht/lists.sr.ht-process.service | 13 +++++++++++++
 3 files changed, 32 insertions(+)
 create mode 100644 lists.sr.ht/lists.sr.ht-lmtp.service
 create mode 100644 lists.sr.ht/lists.sr.ht-process.service

diff --git a/lists.sr.ht/PKGBUILD b/lists.sr.ht/PKGBUILD
index 4aa4b26..465e452 100644
--- a/lists.sr.ht/PKGBUILD
+++ b/lists.sr.ht/PKGBUILD
@@ -17,11 +17,15 @@ install=lists.sr.ht.install
source=(
	"$pkgname-$pkgver.tar.gz::http://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz"
	"lists.sr.ht.service"
	"lists.sr.ht-lmtp.service"
	"lists.sr.ht-process.service"
	"lists.sr.ht-webhooks.service"
	"sysusers.conf"
)
sha256sums=('afa8a123eed3c26df77cb8fc7f90ec9f49237a3481259730915a279f73848a20'
            '3bfc68d7945fa1d996fdf2ca202ceebbe5511ca6618f9a123ea1ac61ac1df062'
            'ed8890a9593dc7d3fe59e7b1fc8dd6c510f123ac4c289ac88d8320a395106c65'
            'd83ce315ad1388cc108607233a13796a899b68044f3a594e0a2f4083d78a0a0b'
            'e845fce17a361d19e447a9b253dd7b68fb51b729b51a6c4a6ed94845954e1279'
            '753453b055e613e7c0fb22991ca8d9f588fe1ba705e26f0e8c2504c464f4e5d0')
export PKGVER=$pkgver
@@ -34,6 +38,8 @@ build() {
package() {
	cd $pkgbase-$pkgver
	install -Dm0644 ../lists.sr.ht.service -t "$pkgdir"/usr/lib/systemd/system/
	install -Dm0644 ../lists.sr.ht-lmtp.service -t "$pkgdir"/usr/lib/systemd/system/
	install -Dm0644 ../lists.sr.ht-process.service -t "$pkgdir"/usr/lib/systemd/system/
	install -Dm0644 ../lists.sr.ht-webhooks.service -t "$pkgdir"/usr/lib/systemd/system/
	install -Dm0644 ../sysusers.conf "$pkgdir/usr/lib/sysusers.d/lists.sr.ht.conf"
	python3 setup.py install --root="${pkgdir}" --optimize=1
diff --git a/lists.sr.ht/lists.sr.ht-lmtp.service b/lists.sr.ht/lists.sr.ht-lmtp.service
new file mode 100644
index 0000000..7668b56
--- /dev/null
+++ b/lists.sr.ht/lists.sr.ht-lmtp.service
@@ -0,0 +1,13 @@
[Unit]
Description=lists.sr.ht mail ingress service
Requires=redis.service postgresql.service
After=redis.service postgresql.service network.target

[Service]
Type=simple
User=listssrht
Restart=always
ExecStart=/usr/bin/listssrht-lmtp

[Install]
WantedBy=multi-user.target
diff --git a/lists.sr.ht/lists.sr.ht-process.service b/lists.sr.ht/lists.sr.ht-process.service
new file mode 100644
index 0000000..f52dbb3
--- /dev/null
+++ b/lists.sr.ht/lists.sr.ht-process.service
@@ -0,0 +1,13 @@
[Unit]
Description=lists.sr.ht mail processing service
Requires=redis.service postgresql.service
After=redis.service postgresql.service network.target

[Service]
Type=simple
User=listssrht
Restart=always
ExecStart=/usr/bin/celery -A listssrht.process worker --loglevel=info

[Install]
WantedBy=multi-user.target
--
2.27.0
Details
Message ID
<f1f74daf-5ef2-60a9-bb6f-7e21a315919e@archlinux.org>
In-Reply-To
<20200604233008.283647-1-admin@xenrox.net> (view parent)
DKIM signature
fail
Download raw message
DKIM signature: fail
Thanks, these look good to me.

To git.sr.ht:~sircmpwn/sr.ht-pkgbuilds
   eb016e0..659c611  master -> master

-- 
Eli Schwartz
Arch Linux Bug Wrangler and Trusted User
Review patch Export thread (mbox)