[BUG] sh: prom2teams_uwsgi: not found
Closed this issue · 1 comments
alpha01 commented
Description
prom2teams_uwsgi is using /bin/bash which is not available in the container.
Steps to Reproduce
- /opt/prom2teams # prom2teams_uwsgi
sh: prom2teams_uwsgi: not found
opt/prom2teams # cat `which prom2teams_uwsgi`
#!/bin/bash
set -e
if [[ -n $1 ]]; then
config=$1
else
echo "Provide a uwsgi ini file (without module and chdir flag)"
exit 1
fi
uwsgi $config --chdir /usr/local/etc/prom2teams --module wsgi
Expected behavior:
/usr/local/bin/prom2teams_uwsgi needs to reference /bin/sh instead of /bin/bash
Actual behavior:
prom2teams_uwsgi is unable to run
Reproduces how often:
Always
Environment
- The release version/s you are using:
- OS: Linux
- Others: idealista/prom2teams:3.2.2
Additional Information
[Any additional information, configuration or data that might be necessary to reproduce the issue.]
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.