[ https://issues.apache.org/jira/browse/SLING-954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved SLING-954. ------------------------------------- Resolution: Fixed Implemented control connection support as described in Rev. 771647 > Add suppport for TCP/IP based control connection for Sling standalone app > ------------------------------------------------------------------------- > > Key: SLING-954 > URL: https://issues.apache.org/jira/browse/SLING-954 > Project: Sling > Issue Type: New Feature > Components: Launchpad Launcher > Affects Versions: Launchpad Base 2.0.4 > Reporter: Felix Meschberger > Assignee: Felix Meschberger > Fix For: Launchpad Base 2.0.4 > > > Currently the Sling standalone application can only be stopped by stopping > the system bundle or by killing the Sling process. To better control Sling > control connection support based on TCP/IP would be nice. This way the same > sling standalone application may be used to start sling, to check a running > sling instance and to stop a running sling instance. > The following command line arguments are added: > "start" - Sling opens a TCP/IP server socket for the control conneciton > "status" - Checks whether a Sling instance is listening on a TCP/IP socket > "stop" - Stops a Sling instance listening on a TCP/IP socket > none of the above - starts Sling without listening on a TCP/IP socket > The socket to listen on (start option) or to send the command to (status, > stop) is configured with the "-j" command line option. This option takes an > argument of the following form: > host:port -- host name or ip address and port number of the socket > port -- port number on localhost (InetAddress.getLocalHost()) of the socket > none or -j not specified -- defaults to port 63000 on localhost > Note, that setting any host name or IP address, which is reachable from > remote systems may be considered as security issue, since the connection is > not secured by password or such. For this reason the default interface to > listen on is local host and the server socket is only created if explicitly > asked for with the start parameter. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.