www-apps/up-common-proxies: Fix some stuff and enable ~amd64.
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
37fcc2a790
commit
789962e459
|
@ -9,9 +9,7 @@ pidfile="/run/${name}.pid"
|
||||||
logdir="/var/log/${name}"
|
logdir="/var/log/${name}"
|
||||||
command_background="yes"
|
command_background="yes"
|
||||||
command_user="gotify:gotify"
|
command_user="gotify:gotify"
|
||||||
# directory="/var/lib/${name}"
|
error_log="${logdir}/${name}.log"
|
||||||
output_log="${logdir}/${name}.log"
|
|
||||||
error_log="${logdir}/error.log"
|
|
||||||
command_args="-c /etc/${name}/config.toml"
|
command_args="-c /etc/${name}/config.toml"
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
|
|
|
@ -65,7 +65,7 @@ S="${WORKDIR}/${PN/up-/}-${PV}"
|
||||||
|
|
||||||
LICENSE="BSD-2 MIT"
|
LICENSE="BSD-2 MIT"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
# KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
IUSE="logrotate"
|
IUSE="logrotate"
|
||||||
|
|
||||||
RDEPEND="acct-user/gotify"
|
RDEPEND="acct-user/gotify"
|
||||||
|
@ -79,10 +79,6 @@ src_install() {
|
||||||
dobin up-rewrite
|
dobin up-rewrite
|
||||||
dodoc docs/{config.md,reverse_proxy.md}
|
dodoc docs/{config.md,reverse_proxy.md}
|
||||||
|
|
||||||
diropts --owner=gotify --group=gotify --mode=750
|
|
||||||
insinto etc/${PN}
|
|
||||||
newins example-config.toml config.toml
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||||
|
|
||||||
if use logrotate; then
|
if use logrotate; then
|
||||||
|
@ -90,5 +86,12 @@ src_install() {
|
||||||
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
|
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
diropts --owner=gotify --group=gotify --mode=750
|
||||||
|
keepdir var/log/${PN}
|
||||||
|
|
||||||
|
insopts --owner=gotify --group=gotify --mode=750
|
||||||
|
insinto etc/${PN}
|
||||||
|
newins example-config.toml config.toml
|
||||||
|
|
||||||
einstalldocs
|
einstalldocs
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue