@ -36,21 +36,23 @@ options\.
.SH LOGGING AND COMMANDING C-LIGHTNING
.SH LOGGING AND COMMANDING C-LIGHTNING
By default, C-Lightning will log to the standard output.
By default, C-Lightning will log to the standard output\ .
To log to a specific file, use \fB --log-file\fR =\fI PATH\fR .
To log to a specific file, use \fB --log-file\fR =\fI PATH\fR \ .
Sending SIGHUP will cause C-Lightning to reopen this file,
Sending SIGHUP will cause C-Lightning to reopen this file,
for example to do log rotation.
for example to do log rotation\.
C-Lightning will set up a Unix domain socket for receiving
C-Lightning will set up a Unix domain socket for receiving
commands.
commands\ .
By default this will be the file \fB lightning-rpc\fR in your
By default this will be the file \fB lightning-rpc\fR in your
specified \fB lightning-dir\fR .
specified \fB lightning-dir\fR \ .
You can use lightning-cli(1) to send commands to C-Lightning
You can use \fB lightning-cli\fR (1) to send commands to C-Lightning
once \fB lightningd\fR has started; you need to match the
once \fB lightningd\fR has started; you need to match the
\fB --lightning-dir\fR and \fB --rpc-file\fR options between them.
\fB --lightning-dir\fR and \fB --rpc-file\fR options between them\.
Commands for C-Lightning are described in various manpages
Commands for C-Lightning are described in various manpages
in section 7, with the common prefix \fB lightning-\fR .
in section 7, with the common prefix \fB lightning-\fR \ .
.SH QUICK START
.SH QUICK START
@ -174,11 +176,11 @@ key is a long hex string, like so:
After determining a public key, use \fB lightning-connect\fR (7) to connect to
After determining a public key, use \fB lightning-connect\fR (7) to connect to
that public key:
that public key at that IP :
.nf
.nf
.RS
.RS
$ lightning-cli connect $PUBLICKEY
$ lightning-cli connect $PUBLICKEY $IP
.RE
.RE