aboutsummaryrefslogtreecommitdiff
path: root/www-apps
diff options
context:
space:
mode:
authorJulien Roy <julien@jroy.ca>2023-01-04 21:07:09 -0500
committerJulien Roy <julien@jroy.ca>2023-01-04 21:07:09 -0500
commitad36af5aa0d0a8413f4b17efb5f4000d80294053 (patch)
tree6b58858c21520319b2524636bc73adeeb92c21f5 /www-apps
parent2670a12da78dfec8e068a526184b3a3287721a9a (diff)
downloadMrRoy-Overlay-ad36af5aa0d0a8413f4b17efb5f4000d80294053.tar.gz
MrRoy-Overlay-ad36af5aa0d0a8413f4b17efb5f4000d80294053.tar.bz2
MrRoy-Overlay-ad36af5aa0d0a8413f4b17efb5f4000d80294053.zip
www-apps/meta-srht: fix init script
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/meta-srht/files/meta.sr.ht-api.confd1
-rw-r--r--www-apps/meta-srht/files/meta.sr.ht-api.initd2
-rw-r--r--www-apps/meta-srht/files/meta.sr.ht.confd2
-rw-r--r--www-apps/meta-srht/meta-srht-0.63.5.ebuild1
4 files changed, 3 insertions, 3 deletions
diff --git a/www-apps/meta-srht/files/meta.sr.ht-api.confd b/www-apps/meta-srht/files/meta.sr.ht-api.confd
index 335a43e..9f22d1f 100644
--- a/www-apps/meta-srht/files/meta.sr.ht-api.confd
+++ b/www-apps/meta-srht/files/meta.sr.ht-api.confd
@@ -1 +1,2 @@
+ADDRESS=0.0.0.0
PORT=5100 \ No newline at end of file
diff --git a/www-apps/meta-srht/files/meta.sr.ht-api.initd b/www-apps/meta-srht/files/meta.sr.ht-api.initd
index 55955a0..6280e78 100644
--- a/www-apps/meta-srht/files/meta.sr.ht-api.initd
+++ b/www-apps/meta-srht/files/meta.sr.ht-api.initd
@@ -5,7 +5,7 @@
name="meta.sr.ht API daemon"
description=""
command="/usr/bin/metasrht-api"
-command_args="-b ${PORT}"
+command_args="-b ${ADDRESS}:${PORT}"
command_user="srht:srht"
command_background=true
pidfile="/run/${RC_SVCNAME}.pid"
diff --git a/www-apps/meta-srht/files/meta.sr.ht.confd b/www-apps/meta-srht/files/meta.sr.ht.confd
index 06cd549..185d367 100644
--- a/www-apps/meta-srht/files/meta.sr.ht.confd
+++ b/www-apps/meta-srht/files/meta.sr.ht.confd
@@ -1,2 +1,2 @@
-BINDADDRESS=127.0.0.1
+BINDADDRESS=0.0.0.0
PORT=8000 \ No newline at end of file
diff --git a/www-apps/meta-srht/meta-srht-0.63.5.ebuild b/www-apps/meta-srht/meta-srht-0.63.5.ebuild
index 0a585ca..9beab0b 100644
--- a/www-apps/meta-srht/meta-srht-0.63.5.ebuild
+++ b/www-apps/meta-srht/meta-srht-0.63.5.ebuild
@@ -7,7 +7,6 @@ PYTHON_COMPAT=( python3_{8..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 go-module optfeature systemd
-BOOTSTRAPVER="4.1.1"
DESCRIPTION="The central authentication and account service for sr.ht"
HOMEPAGE="https://git.sr.ht/~sircmpwn/meta.sr.ht"
SRC_URI="http://git.sr.ht/~sircmpwn/meta.sr.ht/archive/${PV}.tar.gz -> ${P}.tar.gz"