As safe as possible given the consequences of a ruptured gas line and it not shutting down after a crash...

Suggest based on technicques used by manufacturers the following..

Use the oil pressure switch to keep it running under normal mode..

and to cover the situation when starting the engine but no oil pressure yet, use the start position of your ignition switch as an override to make it run while starting..