r266 - /web/deps/dep9.mdwn
sez at users.alioth.debian.org
sez at users.alioth.debian.org
Tue Feb 7 21:32:31 UTC 2012
Author: sez
Date: Tue Feb 7 21:32:31 2012
New Revision: 266
URL: http://svn.debian.org/wsvn/dep/?sc=1&rev=266
Log:
dep9: put code snippet and table in preformatted tags
Modified:
web/deps/dep9.mdwn
Modified: web/deps/dep9.mdwn
URL: http://svn.debian.org/wsvn/dep/web/deps/dep9.mdwn?rev=266&op=diff
==============================================================================
--- web/deps/dep9.mdwn (original)
+++ web/deps/dep9.mdwn Tue Feb 7 21:32:31 2012
@@ -197,6 +197,7 @@
Below is an example postinst snippet for an ftp server package that is meant
to be transitioned from update-inetd to reconf-inetd in release 2.0:
+<pre>
case $1 in
configure)
if dpkg --compare-versions "$2" le 2.0; then
@@ -206,17 +207,20 @@
fi
;;
esac
+</pre>
# Requirements for xinetd/reconf-inetd fragments
According to xinetd.conf(5), xinetd fragments must have the following fields:
+<pre>
socket_type (mandatory)
wait (mandatory)
user (non-internal services only)
server (non-internal services only)
protocol (RPC and unlisted services only)
port (unlisted non-RPC services only)
+</pre>
If the protocol field is omitted and the service is listed, reconf-inetd will
assume the protocol of the first matching entry from /etc/services. That will
More information about the dep-commits
mailing list