It doesn't do that because it's not supposed to. Populating an alternate service registry (MongoDB or whatever) from the JSON files is a one-time thing the server does to help you "bootstrap" the alternate service registry. After that, you don't need the JSON files any more (and should turn that registry off). You use the cas-management application to manage the service registry from that point forward.
-- DAVID A. CURRY, CISSP *DIRECTOR • INFORMATION SECURITY & PRIVACY* THE NEW SCHOOL • INFORMATION TECHNOLOGY 71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003 +1 646 909-4728 • david.cu...@newschool.edu On Tue, Aug 25, 2020 at 5:46 AM Napoleon Ponaparte < naphaluan211...@gmail.com> wrote: > > I am successful store service registry in MongoDB, but I have a trouble in > there. > > If I register new service store in directory /etc/cas/services-repo, CAS > server didn't auto store this service to MongoDB. I must restart CAS to do > this. > > So, How could config CAS auto restart to load new service registry to > MongoDB? > > Note: My CAS server at version 6.2.x. > > Thank you in advance. > > -- > - Website: https://apereo.github.io/cas > - Gitter Chatroom: https://gitter.im/apereo/cas > - List Guidelines: https://goo.gl/1VRrw7 > - Contributions: https://goo.gl/mh7qDG > --- > You received this message because you are subscribed to the Google Groups > "CAS Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to cas-user+unsubscr...@apereo.org. > To view this discussion on the web visit > https://groups.google.com/a/apereo.org/d/msgid/cas-user/bbb8c8b6-a16e-4e94-88e3-74e2dd80a934n%40apereo.org > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/bbb8c8b6-a16e-4e94-88e3-74e2dd80a934n%40apereo.org?utm_medium=email&utm_source=footer> > . > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XAOimF2-vHL-13Uj0vs98gcxpzZPQh%2Be1r4sUBBY_hYxvg%40mail.gmail.com.