/usr/bin/barbican-api is in barbican-common 1:3.0.0-3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #! /usr/bin/python
from paste import deploy
from paste import httpserver
def run():
prop_dir = '/etc/barbican'
application = deploy.loadapp(
'config:{prop_dir}/barbican-api-paste.ini'.format(prop_dir=prop_dir),
name='main',
relative_to='.')
httpserver.serve(application, host='0.0.0.0', port='9311')
if __name__ == '__main__':
run()
|