Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize a few things #4

Merged
merged 5 commits into from
Nov 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,29 @@ clean:
changelog:
git log -M -C --find-copies-harder --name-status > ChangeLog

docs: doc/pygopherd.8 doc/pygopherd.html doc/pygopherd.ps \
docs: doc/pygopherd.8 doc/pygopherd.ps \
doc/pygopherd.pdf doc/pygopherd.txt

doc/pygopherd.8: doc/pygopherd.sgml
docbook2man doc/pygopherd.sgml
docbook2man doc/pygopherd.sgml
doc/pygopherd.8: doc/pygopherd.sgml doc/book.sgml
docbook2man doc/book.sgml
docbook2man doc/book.sgml
-rm manpage.links manpage.refs
mv pygopherd.8 doc

#doc/pygopherd.html: doc/pygopherd.sgml
# docbook2html -u doc/pygopherd.sgml
# mv pygopherd.html doc

doc/pygopherd.html: doc/pygopherd.sgml
docbook-2-html -s local doc/pygopherd.sgml
doc/pygopherd.html: doc/pygopherd.sgml doc/book.sgml
docbook2html doc/book.sgml
mv doc/pygopherd-html/pygopherd.html doc/pygopherd.html
rm -r doc/pygopherd-html

#doc/pygopherd.ps: doc/pygopherd.8
# man -t -l doc/pygopherd.8 > doc/pygopherd.ps

doc/pygopherd.ps: doc/pygopherd.sgml doc/book.sgml doc/manpage.sgml
docbook-2-ps -q -O -V -O paper-size=Letter -s local=printlocal \
docbook2ps \
doc/book.sgml
mv book.ps doc/pygopherd.ps

Expand Down
11 changes: 6 additions & 5 deletions conf/pygopherd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
# Set this to true if you want the server to "detach" itself; that is,
# to go into the background after it starts.

detach = yes
detach = no

# If you want gopherd to write a PID file, set this to the location
# where you want it. Otherwise, comment out this line.

pidfile = /var/run/pygopherd.pid
pidfile = /var/run/pygopherd/pygopherd.pid

##################################################
# Network
Expand Down Expand Up @@ -110,8 +110,8 @@ usechroot = yes
## starting pygopherd as root. Comment out if you don't want this
## functionality. NOTE: DO NOT RUN AS ROOT UNLESS YOU USE THESE! BAD BAD BAD!

setuid = gopher
setgid = gopher
#setuid = gopher
#setgid = gopher

##################################################
# TLS
Expand Down Expand Up @@ -510,4 +510,5 @@ footer = => https://www.github.com/michael-lazar/pygopherd Generated by PyGopher

[protocols.gemini.SpartanProtocol]

footer = => https://www.github.com/michael-lazar/pygopherd Generated by PyGopherd
footer = => https://www.github.com/michael-lazar/pygopherd Generated by PyGopherd

Loading