You are not logged in.
Pure ftpd is an AUR package, but no pure-ftpd.service file can I find. It hasn't been updated for awhile since being pulled out of the repos.
Seems that some of the other distros might already have one.
Anyone else use pure ftpd?
There is a proftpd.service file it appears laying around (if I was using it).
Contents of /etc/rc.d/pure-ftpd:
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
PIDFILE="/var/run/pure-ftpd.pid"
case "$1" in
start)
stat_busy "Starting Pure-FTPd"
[ ! -f $PIDFILE ] && /usr/sbin/pure-config.pl /etc/pure-ftpd.conf &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
add_daemon pure-ftpd
stat_done
fi
;;
stop)
stat_busy "Stopping Pure-FTPd"
# Just kill the master server, preserve existing connections.
#
[ -f $PIDFILE ] && kill `cat $PIDFILE` &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon pure-ftpd
stat_done
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esacLast edited by nomorewindows (2012-10-17 22:39:19)
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Here is my pure-ftpd.service :
[Unit]
Description=Pure-FTPd FTP server
After=syslog.target network.target
[Service]
Type=forking
PIDFile=/var/run/pure-ftpd.pid
ExecStart=/usr/sbin/pure-config.pl /etc/pure-ftpd.conf --daemonize
[Install]
WantedBy=multi-user.target
Offline
Looks like it'll do.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Recent upgrade to pure-ftpd in AUR now includes pure-ftpd.service file.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline