Restart Gateway Instance from cfm

Is there a way to restart a gateway instance from a cfm (Example:
websocket)?

if not, how I can reboot Lucee (on linux) from a cfm (I have not enough
right to do it with a cfexecute)?

Have Lucee create some sort of trigger (like a file) that a cron job (scheduled task) checks for. If the trigger exists, then the cron job can restart Lucee with sufficient permissions.–
Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “julien d vortex” <@julien.d.vortex>
To: “Lucee” lucee@googlegroups.com
Sent: Wednesday, May 18, 2016 10:13:59 AM
Subject: [Lucee] Restart Gateway Instance from cfm

Is there a way to restart a gateway instance from a cfm (Example:
websocket)?

if not, how I can reboot Lucee (on linux) from a cfm (I have not enough
right to do it with a cfexecute)?


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/7c35e2bd-58fd-4d84-83a6-563553e84bd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Using cfadmin you can restart a gateway like this: admin action=“gateway”
type=“web” password=“password” id=“gateway id” gatewayaction=“restart”;

I’m not sure if the listener cfc is reinstantiated though.

Regards,
Jeroen

Thanks!! It’s working!

Do you know if there is a doc about the cfadmin function?Le jeudi 19 mai 2016 07:33:32 UTC-4, Jeroen Knoef a écrit :

Using cfadmin you can restart a gateway like this: admin action=“gateway”
type=“web” password=“password” id=“gateway id” gatewayaction=“restart”;

I’m not sure if the listener cfc is reinstantiated though.

Regards,
Jeroen

There was some documentation on the Railo site:

But getrailo.org seems to be down. Maybe permanently, who knows.
For some of the things we use, we just checked the source code of the
Lucee/Railo admin.> Op 19 mei 2016, om 14:04 heeft @julien.d.vortex het volgende geschreven:

Thanks!! It’s working!

Do you know if there is a doc about the cfadmin function?

Le jeudi 19 mai 2016 07:33:32 UTC-4, Jeroen Knoef a écrit :

Using cfadmin you can restart a gateway like this: admin action=“gateway” type=“web” password=“password” id=“gateway id” gatewayaction=“restart”;

I’m not sure if the listener cfc is reinstantiated though.

Regards,
Jeroen


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to a topic in the Google Groups “Lucee” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lucee/xyqGzZvRbn8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/80a8a4ba-0910-4a34-a1b3-d405d0a12349%40googlegroups.com [1].
For more options, visit https://groups.google.com/d/optout.

Links:

[1]
https://groups.google.com/d/msgid/lucee/80a8a4ba-0910-4a34-a1b3-d405d0a12349%40googlegroups.com?utm_medium=email&amp;utm_source=footer

All Railo event gateway documentation was moved to here: http://docs.lucee.org/guides/Various/event-gateway.html