Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [concierge-dev] Is there a way to prevent quit and exit ?

Hi Cristiano,

Besides a user stopping the framework from the console, there is also the possibility of an unexpected error in the JVM that crashes the process.

Maybe another option to achieve what you want would be to monitor the Java process and automatically restart it when it was stopped outside of the systemd service (i.e. terminal exit or crash). You can also use the existing storage directory to restart the framework then in exactly its previous state.

Best regards,

Tim



On 01/27/2016 03:02 AM, Cristiano Gavião wrote:
Hi again,

I'm setting the container to be started as linux systemd service and detach the console using linux screen.

when necessary I would like to stop/restart the container using only the systemd service commands (through kill TERM signal). Then I'm thinking in restrict the ways to exit/quit from console.

is there anything I can do to achieve that ?

thanks,

Cristiano
_______________________________________________
concierge-dev mailing list
concierge-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/concierge-dev


--
Tim Verbelen
Department of Information Technology
Broadband Communication Networks (IBCN)
Ghent University - iMinds
Gaston Crommenlaan 8 (Bus 201), B-9050 Gent, Belgium
T: +32 9 33 14940 ; T Secr: +32 9 33 14900
F: +32 9 33 14899
E: tim.verbelen@xxxxxxxxxxxxxx
W : www.ibcn.intec.UGent.be



Back to the top