where is /etc/init.d/pure-ftpd in CentOS 7

nicsopon

Verified User
Joined
Jul 4, 2006
Messages
98
Hi

I can't find /etc/init.d/pure-ftpd in CentOS 7. Where is the file I can add :

OPTIONS="${OPTIONS} --fscharset=iso-8859-15 --clientcharset=big5"

to enable UTF-8 for FTP.

Thanks & Best Regards
 
RHEL7 and it's variants (such as CentOS) now uses systemd, which means /etc/init.d isn't used for the most part. You need to use systemctl (do a man on that) to manipulate the startup objects. I don't quite like it at all, it is yet another command I need to be familiar with and remember which OS (Linux various distros, Solaris 8,9,10,11, AIX, HP-UX, Mac OS). They all have different methods of starting processes, this is the latest way that Red Hat has implemented.
 
The pure-ftpd script is still installed in /etc/init.d when compiling from source, according to Howtoforge. But indeed it's called in Centos 7 via systemctl.

If it isn't there, did you try the locate function to find it? It might be in /etc/pure-ftpd or somewhere else.
 
Back
Top