diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-03 13:19:52 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-03 13:19:52 +0000 |
commit | 29c724d2a7764f83fe846b418d09540348b86983 (patch) | |
tree | dafaff8e37ba51355b22b6f38d856ae49e145006 /src/template | |
parent | b303961f38c9b578f30248ee364ed4e5ffdcd06c (diff) | |
download | gnunet-29c724d2a7764f83fe846b418d09540348b86983.tar.gz gnunet-29c724d2a7764f83fe846b418d09540348b86983.zip |
implementing #1747
Diffstat (limited to 'src/template')
-rw-r--r-- | src/template/Makefile.am | 5 | ||||
-rw-r--r-- | src/template/template.conf | 21 |
2 files changed, 26 insertions, 0 deletions
diff --git a/src/template/Makefile.am b/src/template/Makefile.am index 35a4b433e..1769191e7 100644 --- a/src/template/Makefile.am +++ b/src/template/Makefile.am | |||
@@ -1,5 +1,10 @@ | |||
1 | INCLUDES = -I$(top_srcdir)/src/include | 1 | INCLUDES = -I$(top_srcdir)/src/include |
2 | 2 | ||
3 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
4 | |||
5 | dist_pkgcfg_DATA = \ | ||
6 | template.conf | ||
7 | |||
3 | if MINGW | 8 | if MINGW |
4 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols | 9 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols |
5 | endif | 10 | endif |
diff --git a/src/template/template.conf b/src/template/template.conf new file mode 100644 index 000000000..522721fb6 --- /dev/null +++ b/src/template/template.conf | |||
@@ -0,0 +1,21 @@ | |||
1 | [template] | ||
2 | AUTOSTART = NO | ||
3 | PORT = 9999 | ||
4 | HOSTNAME = localhost | ||
5 | HOME = $SERVICEHOME | ||
6 | CONFIG = $DEFAULTCONFIG | ||
7 | BINARY = gnunet-service-template | ||
8 | ACCEPT_FROM = 127.0.0.1; | ||
9 | ACCEPT_FROM6 = ::1; | ||
10 | UNIXPATH = /tmp/gnunet-service-template.sock | ||
11 | UNIX_MATCH_UID = YES | ||
12 | UNIX_MATCH_GID = YES | ||
13 | # DISABLE_SOCKET_FORWARDING = NO | ||
14 | # USERNAME = | ||
15 | # MAXBUF = | ||
16 | # TIMEOUT = | ||
17 | # DISABLEV6 = | ||
18 | # BINDTO = | ||
19 | # REJECT_FROM = | ||
20 | # REJECT_FROM6 = | ||
21 | # PREFIX = | ||