1234567891011121314151617181920212223242526272829303132333435 |
- diff --git a/configure b/configure
- index 067affe..c78a9f6 100755
- --- a/configure
- +++ b/configure
- @@ -340,12 +340,14 @@ sed -i -e "s:@XINETD_CONF@:${XINETD_CONF}:" Makefile
-
- printf "done\\n"
-
- -# Also sub in $HOSTNAME to the various init systems (whether or not we really
- -# use them, its just easier)
- +# Also sub in $GOPHERROOT and $HOSTNAME to the various init systems
- +# (whether or not we really use them, its just easier)
- for f in gophernicus.env haiku_snippet org.gophernicus.server.plist \
- gophernicus.xinetd; do
- printf "creating init/${f}... "
- - sed -e "s:@HOSTNAME@:${HOSTNAME}:" "init/${f}.in" > "init/${f}"
- + cp init/${f}{.in,}
- + sed -i -e "s:@GOPHERROOT@:${GOPHERROOT}:" init/${f}
- + sed -i -e "s:@HOSTNAME@:${HOSTNAME}:" init/${f}
- printf "done\\n"
- done
-
- diff --git a/init/gophernicus.xinetd.in b/init/gophernicus.xinetd.in
- index 4f2c921..a052375 100644
- --- a/init/gophernicus.xinetd.in
- +++ b/init/gophernicus.xinetd.in
- @@ -6,6 +6,6 @@ service gopher
- wait = no
- user = nobody
- server = @BINARY@
- - server_args = -r/var/gopher -h@HOSTNAME@
- + server_args = -r@GOPHERROOT@ -h@HOSTNAME@
- disable = no
- }
|