Remove ability to change the name of the default configuration file
This feature will only confuse us during support, if users come to us with a Tinyproxy build which has a differently named default config file. This feature is not that useful anyway.
This commit is contained in:
1 parent
6f9fa5287f
commit
90e7d07f44
4 files changed
+4
-31
No files matched your search
@@ -17,6 +17,9 @@
|
||||
|
||||
sbin_PROGRAMS = tinyproxy
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-DSYSCONFDIR=\"${sysconfdir}\"
|
||||
|
||||
tinyproxy_SOURCES = \
|
||||
acl.c acl.h \
|
||||
anonymous.c anonymous.h \
|
||||
|
||||
+1
-1
@@ -287,7 +287,7 @@ main (int argc, char **argv)
|
||||
*/
|
||||
umask (0177);
|
||||
|
||||
config.config_file = DEFAULT_CONF_FILE;
|
||||
config.config_file = SYSCONFDIR "/tinyproxy.conf";
|
||||
config.godaemon = TRUE;
|
||||
|
||||
process_cmdline (argc, argv);
|
||||
|
||||
Reference in new issue
Block a user