Skip to content

Commit

Permalink
solving bug when localhost don't resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsonLazarin committed Aug 11, 2024
1 parent ae5c61c commit c25cfc2
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 34 deletions.
2 changes: 1 addition & 1 deletion DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: chonos-log
Version: 1.5.7
Version: 1.5.8
Priority:
Architecture: all
Essential:
Expand Down
2 changes: 0 additions & 2 deletions DEBIAN/postinst
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/bin/bash
gzip -f /usr/local/man/man1/chonos-log.1
mandb

systemctl daemon-reload
systemctl enable chonos-log.service
Expand Down
2 changes: 1 addition & 1 deletion etc/stunnel/chonos-log.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[chonos-log]
accept = 3371
connect = localhost:3271
connect = 127.0.0.1:3271
cert = /opt/group.chon/lib/tomcat/conf/certs/fullchain.pem
key = /opt/group.chon/lib/tomcat/conf/certs/privkey.pem
2 changes: 1 addition & 1 deletion usr/bin/chonos-log
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ elif [ "$log" = "clear" ]; then
fi

if [ "$opt" = "help" ]; then
man chonos-log
echo "Consult tutorial at: https://github.com/chon-group/dpkg-chonos-log"
exit 0
elif [ "$opt" = "start" ]; then
echo "[chonos-log] Starting ChonOS Web Log Monitor Service $timestamp" > $EmbedMAS_LOGFILE
Expand Down
29 changes: 0 additions & 29 deletions usr/local/man/man1/chonos-log.1

This file was deleted.

0 comments on commit c25cfc2

Please sign in to comment.