mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
aa85e6e0da
Changes (from PR): - japanese/ndtpd o Set default syslog file for `/var/log/ndtpd.log'. o Change the default working directory `/var/ndtpd' to `/var/run/ndtpd'. * It will created by `${PREFIX}/etc/rc.d/ndtpd.sh' (even if the user select "Inetd mode" !) * Lock files and a PID file are created under it. o Support some arguments in the startup script: ${PREFIX}/etc/rc.d/ndtpd.sh start|stop|kill|restart|status|terminate o Separate the session to build `ndtpd.sh.sample' from `post-install' into `post-build'. o Don't configure EB sybsystem in NDTPD. - japanese/eb o Don't configure ZLIB sybsystem in EB. o Don't define CONFIGURE_ENV. * Suggested by Michael's last commit to japanese/ndtpd/Makefile. PR: 16117 Submitted by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
20 lines
882 B
Plaintext
20 lines
882 B
Plaintext
************************************************************************
|
|
You'll need manual configurations to actually activate `ndtpd'.
|
|
|
|
**** IF YOU WANT TO SETUP PRIVATE SYSLOG, edit /etc/syslog.conf.
|
|
|
|
1st) Copy a sample configuration file `ndtpd.conf.sample' to `ndtpd.conf'
|
|
in `${PREFIX}/etc' directory, and edit it.
|
|
Consult the "Configuration File" section of info file.
|
|
|
|
2nd) Copy a sample startup script `ndtpd.sh.sample' to `ndtpd.sh'
|
|
in `${PREFIX}/etc/rc.d' directory, and edit it.
|
|
|
|
a) To start `ndtpd' as a standalone daemon, set the variable
|
|
`standalone' in the script to `YES', and exec it.
|
|
|
|
b) Otherwise, to start as a child process of `inetd',
|
|
set `standalone' to `NO', and edit the file `/etc/inetd.conf'.
|
|
Consult the "Run as a Child of inetd" section of info file.
|
|
************************************************************************
|