Skip to content

Commit c25cfc2

Browse files
committed
solving bug when localhost don't resolve
1 parent ae5c61c commit c25cfc2

File tree

5 files changed

+3
-34
lines changed

5 files changed

+3
-34
lines changed

DEBIAN/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: chonos-log
2-
Version: 1.5.7
2+
Version: 1.5.8
33
Priority:
44
Architecture: all
55
Essential:

DEBIAN/postinst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#!/bin/bash
2-
gzip -f /usr/local/man/man1/chonos-log.1
3-
mandb
42

53
systemctl daemon-reload
64
systemctl enable chonos-log.service

etc/stunnel/chonos-log.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[chonos-log]
22
accept = 3371
3-
connect = localhost:3271
3+
connect = 127.0.0.1:3271
44
cert = /opt/group.chon/lib/tomcat/conf/certs/fullchain.pem
55
key = /opt/group.chon/lib/tomcat/conf/certs/privkey.pem

usr/bin/chonos-log

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ elif [ "$log" = "clear" ]; then
3838
fi
3939

4040
if [ "$opt" = "help" ]; then
41-
man chonos-log
41+
echo "Consult tutorial at: https://github.com/chon-group/dpkg-chonos-log"
4242
exit 0
4343
elif [ "$opt" = "start" ]; then
4444
echo "[chonos-log] Starting ChonOS Web Log Monitor Service $timestamp" > $EmbedMAS_LOGFILE

usr/local/man/man1/chonos-log.1

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)