ports/net/3proxy/files/patch-cfg_3proxy.cfg.sample
Pavel Timofeev cb018819d6 net/3proxy: update to 0.9.4
PR:	256951
2021-07-03 00:14:20 -07:00

35 lines
1.2 KiB
Text

--- cfg/3proxy.cfg.sample.orig 2021-07-01 16:59:57 UTC
+++ cfg/3proxy.cfg.sample
@@ -30,15 +30,15 @@ users 3APA3A:CL:3apa3a "test:CR:$1$qwer$CHFTUFGqkjue9H
# this example shows you how to include passwd file. For included files
# <CR> and <LF> are treated as field separators.
-#daemon
+daemon
# now we will not depend on any console (daemonize). daemon must be given
# before any significant command on *nix.
-service
+#service
# service is required under NT if you want 3proxy to start as service
-#log /var/log/3proxy/log D
-log c:\3proxy\logs\3proxy.log D
+log %%3PROXY_LOGDIR%%/log D
+#log c:\3proxy\logs\3proxy.log D
# log allows to specify log file location and rotation, D means logfile
# is created daily
@@ -72,10 +72,10 @@ log c:\3proxy\logs\3proxy.log D
logformat "- +_L%t.%. %N.%p %E %U %C:%c %R:%r %O %I %h %T"
-#archiver gz /bin/gzip %F
+archiver gz /usr/bin/gzip %F
#archiver zip zip -m -qq %A %F
#archiver zip pkzipc -add -silent -move %A %F
-archiver rar rar a -df -inul %A %F
+#archiver rar rar a -df -inul %A %F
# if archiver specified log file will be compressed after closing.
# you should specify extension, path to archiver and command line, %A will be
# substituted with archive file name, %f - with original file name.