mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-python/flower: install script in /usr/libexec/flower for bug 578444
Package-Manager: portage-2.2.28
This commit is contained in:
@@ -8,7 +8,7 @@ pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"}
|
||||
user=${SVCNAME}
|
||||
group=${SVCNAME}
|
||||
|
||||
command="/usr/bin/${SVCNAME}"
|
||||
command="/usr/libexec/${SVCNAME}/${SVCNAME}"
|
||||
command_background="true"
|
||||
start_stop_daemon_args="--user ${user} --group ${group} \
|
||||
--stdout /var/log/${SVCNAME}/${SVCNAME}.log \
|
||||
|
||||
@@ -7,7 +7,7 @@ After=network-online.target
|
||||
User=flower
|
||||
PrivateDevices=Yes
|
||||
Environment=_FLOWER_OPTS="--conf=/etc/flower/config.py"
|
||||
ExecStart=/usr/bin/flower $_FLOWER_OPTS
|
||||
ExecStart=/usr/libexec/flower/flower $_FLOWER_OPTS
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
@@ -46,6 +46,10 @@ src_install() {
|
||||
fowners ${PN}:${PN} /var/log/${PN}
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install --install-scripts "${EPREFIX}/usr/libexec/flower"
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user