projdir\servintprojname\ UserRules\usermain.igl
where projdir is your Enterprise Developer project directory, and servintprojname is the name of the project containing your service interface.
% if 0
    % defini $ebiz-user-initialisation-exit
        ebiz-user-initialisation-exit section.
            % * Code your ebiz initialisation exit logic here
            % * Change the preceeding '% if 0' to '% if 1'
            exit
            .
    % end
% end
% if 0
    % defini $ebiz-user-termination-exit
        ebiz-user-termination-exit section.
            % * Code your ebiz termination exit logic here
            % * Change the preceeding '% if 0' to '% if 1'
            exit
            .
    % end
% end