systemd is a new system and service manager for Linux system, which was implemented/adapted into all the major Linux distributions over the traditional SysV init systems due to lots of issue/improvement has to be on SysVinit systems.
All the service files are available on /etc/init.d/
directory for SysVinit system.
For systemd system, the service files are available on /usr/lib/systemd/system/
directory.
If you would like to perform any kind of actions like start, stop, restart, enable, reload & status against the specific service then use the following commands.
Make sure that you should have admin privileges to run these commands except status command. It should be root
or sudo
permission needed to run the below commands.
What Is ProFTPD?
ProFTPD is a free and open-source ftp server written for use on Unix and Unix-a-like operating systems.
ProFTPD is one of the best FTP servers among others in the market (vsftpd and Pure-FTPd).
It’s highly configurable and offers more features compared with others.
The default configuration file is located at /etc/proftpd.conf.
/etc/proftpd.conf
The virtual users authentication configuration file is located in the below locations.
/etc/ftpd.passwd - AuthUserFile /etc/ftpd.group - AuthGroupFile
1) How To Start The ProFTPD Service In Linux?
Use the below commands to start the ProFTPD server in Linux.
For SysVinit
Systems
# service proftpd start or # /etc/init.d/proftpd start
For systemd
Systems
# systemctl start proftpd or # systemctl start proftpd.service
2) How To Stop The ProFTPD Service In Linux?
Use the below commands to stop the ProFTPD server in Linux.
For SysVinit
Systems
# service proftpd stop or # /etc/init.d/proftpd stop
For systemd
Systems
# systemctl stop proftpd or # systemctl stop proftpd.service
3) How To Restart The ProFTPD Service In Linux?
Use the below commands to restart the ProFTPD server in Linux.
For SysVinit
Systems
# service proftpd restart or # /etc/init.d/proftpd restart
For systemd
Systems
# systemctl restart proftpd or # systemctl restart proftpd.service
4) How To Reload The ProFTPD Service In Linux?
Use the below commands to reload the ProFTPD server in Linux.
For SysVinit
Systems
# service proftpd reload or # /etc/init.d/proftpd reload
For systemd
Systems
# systemctl reload proftpd or # systemctl reload proftpd.service
5) How To View The ProFTPD Service Status In Linux?
Use the below commands to view the ProFTPD server status in Linux.
For SysVinit
Systems
# service proftpd status or # /etc/init.d/proftpd status
For systemd
Systems
# systemctl status proftpd or # systemctl status proftpd.service
6) How To Enable The ProFTPD Service On Boot In Linux?
Use the below commands to enable the ProFTPD server on boot in Linux.
For SysVinit
Systems
# chkconfig proftpd on
For systemd
Systems
# systemctl enable proftpd or # systemctl enable proftpd.service
For All service commands View More