This file is indexed.

/usr/bin/celery is in python-celery-common 3.1.20-1.

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
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
shell_code=''' '
# shell code
if command -v python3 > /dev/null && test -e /usr/lib/python3/dist-packages/celery
then
    exec python3 "$0" "$@"
elif command -v python2.7 > /dev/null && test -e /usr/lib/python2.7/dist-packages/celery
then
    exec python2.7 "$0" "$@"
elif command -v python2.6 > /dev/null && test -e /usr/lib/python2.6/dist-packages/celery
then
    exec python2.6 "$0" "$@"
else
    echo "Cannot find installed version of python-django or python3-django." >&2
    exit 1
fi

python_code='''
# python code
# ONLY use DOUBLE quotes <"> after this line
import sys
from pkg_resources import load_entry_point

if __name__ == "__main__":
    sys.exit(
        load_entry_point("celery", "console_scripts", "celery")()
    )
# End of Python code. Do not modify this line. #'