The local.py is the old settings file, now you can run multiple instances of Mayan and set the config files under,
/usr/share/mayan-edms/media/maya_settings
folder and name them whatever you wish.
If you still use a local.py you can move it there, then use the following startup config settings parameter for Django.
DJANGO_SETTINGS_MODULE=mayan.media.mayan_settings.local