aboutsummaryrefslogtreecommitdiffstats
path: root/net/endlessh/files/pkg-message.in
blob: 3dea43343029c061bc7d9b4a40e5f8b168cc04ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[
{
  type: install
  message: <<EOD

Configure endlessh either via endlessh.conf or using endlessh_args in rc.conf.
The defaults are commented out in endlessh.conf.

The default configuration only logs starts & stops to /var/log/endlessh.log.
To see the connections set LogLevel 1 in endlessh.conf or add "-v" to
endlessh_args. Sending SIGUSR1 to endlessh (pkill USR1 endlessh) will add
statistics to the /var/log/endlessh.log file

Link (or copy) endlessh.newsyslog.conf to ${PREFIX}/newsyslog.conf.d/
to take care of log rotation.

ln -s ${PREFIX}/etc/endlessh.newsyslog.conf $PREFIX}/etc/newsyslog.conf.d/

EOD
}
,
{
  type: upgrade
  message: <<EOD

Link (or copy) endlessh.newsyslog.conf to %%PREFIX%%/newsyslog.conf.d/
to take care of log rotation.

ln -s %%PREFIX%%/etc/endlessh.newsyslog.conf %%PREFIX%%/etc/newsyslog.conf.d/

EOD
]