Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » MobiLink - Server Administration » Using MobiLink Technology » Synchronizing through a web server with the relay server » rshost utility

 

Starting rshost as a Windows service

For Windows only, the rshost utility can be started as a Windows service. Use the SQL Anywhere Service Utility (dbsvc.exe) to manage rshost as a service. The start property in the options section of the relay server configuration file should be set to no. See Options section.

To set up an auto started rshost service named rs:
dbsvc -as -s auto -w rs "C:\inetpub\wwwroot\ias_relay_server\server\rshost.exe" -q -qc -f c:\inetpub\wwwroot\ias_relay_server\server\rstest.config -o c:\temp\rs.log
To start the service:
dbsvc.exe -u rs
To stop the service:
dbsvc.exe -x rs
To uninstall the service:
dbsvc.exe -d rs

For other advanced Windows service support through the SQL Anywhere Service Utility, see Service utility (dbsvc) for Windows.