Today I needed to enable the pure-uploadscript functionality in pure-ftpd on a SLES 10 server. According to the spec file, the pure-ftpd RPM has been built with the --enable-uploadscript option, so no need to start rebuilding anything.

Unfortunately, the init script for pure-ftpd that comes with the RPM package in SLES 10 does not start the pure-uploadscript daemon for you. Therefore, I changed the init script, and created a file /etc/sysconfig/pure-ftpd. After some testing, this seemed to work quite well. Here's my patch.

Enjoy ;-)