RHEL9 systemctl gets permission error when database location moved or port changed

Thanks to you for digging up the information.

With

you might need to add

/var/lib/mongo1(/.*)?                               all files          system_u:object_r:mongod_var_lib_t:s0

And please as mentioned