This global option specifies a command to execute in the event that Samba itself encounters a fatal error when loading or running. There is no default value for this option. You can specify an action as follows:
[global]
panic action = /bin/csh -c
'xedit < "Samba has shutdown unexpectedly!'