www-apps/up-common-proxies: Fix some stuff and enable ~amd64.
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
37fcc2a790
commit
789962e459
@ -9,9 +9,7 @@ pidfile="/run/${name}.pid"
|
||||
logdir="/var/log/${name}"
|
||||
command_background="yes"
|
||||
command_user="gotify:gotify"
|
||||
# directory="/var/lib/${name}"
|
||||
output_log="${logdir}/${name}.log"
|
||||
error_log="${logdir}/error.log"
|
||||
error_log="${logdir}/${name}.log"
|
||||
command_args="-c /etc/${name}/config.toml"
|
||||
|
||||
depend() {
|
||||
|
@ -65,7 +65,7 @@ S="${WORKDIR}/${PN/up-/}-${PV}"
|
||||
|
||||
LICENSE="BSD-2 MIT"
|
||||
SLOT="0"
|
||||
# KEYWORDS="~amd64"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="logrotate"
|
||||
|
||||
RDEPEND="acct-user/gotify"
|
||||
@ -79,10 +79,6 @@ src_install() {
|
||||
dobin up-rewrite
|
||||
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}
|
||||
|
||||
if use logrotate; then
|
||||
@ -90,5 +86,12 @@ src_install() {
|
||||
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
|
||||
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
|
||||
}
|
||||
|
Reference in New Issue
Block a user