Under UNIX and Windows you start and stop the SAP Gateway together with the SAP System. The gateway is started by the dispatcher. No special entries are required in the sapstart script.
You have installed the gateway together with your instance, or as a gateway instance (standalone gateway). You can find information about this in the SAP Service Marketplace under
http://service.sap.com/instguides.
Select NetWeaver and your Release and then Installation in the Installation Guide for your platform.
The gateway instance has its own SID (for example, G11) and instance number, and the executable gwrd(.exe) is located in the corresponding directory (for example, /usr/sap/G11/SYS/exe/run).
To start a SAP Gateway installed separately on a UNIX machine, you specify a start profile: gwrd -force pf=<profile> &
To cancel, you must send the INT signal to the gateway read process.
Use the following command to obtain the process ID (PID) of the gateway process: ps -ef | grep gwrd.
To kill the process, send the relevant INT signal to the process: kill INT <pid>.
You can start and stop the standalone gateway just the same on Windows. You just have to use sapntkill instead of kill, or exit the process from the task manager. Usually you use the SAP Service Manager to start an SAP Gateway installed separately on Windows. For more information see the documentation specified above.