Hello,
Like a title
I upgrade imscp to 1.2.17 and change proftpd to vsftpd on ubuntu lts.But I can't found vsftpd service at /etc/init.d
I make sure it's have /etc/vsftpd.conf this file and vsftpd service has listening.But if I want restart vsftpd service.I can't found /etc/init.d/vsftpd
Is this bug?
Ubuntu LTS - VsFTPd- can't found sysvinit script (/etc/init.d/vsftpd)
-
- not i-MSCP related
- akong7777
- Thread is marked as Resolved.
-
-
I attachment some pic.
-
-
Good morning,
Which Ubuntu LTS version you use exactly?
BTW: You must not manage services by calling /etc/init.d/* scripts directly. You must use the service command.
-
To answer your question: There is no longer a sysvinit script for VsFTPd under Ubuntu (Trusty Thar). There is only an Upstart job and a systemd service unit. You should learn a bit more about different init systems (sysvinit, Upstart, systemd).
To manage the vsftpd service, just do:
For instance:
Shell-ScriptAbout default init system on Debian/Ubuntu
Debian
- Debian Wheezy: Default init system is sysvinit
- Debian Jessie: Default init system is systemd (with sysvinit compatibility layer)
- Debian Testing (Stretch): Default init system is systemd (with sysvinit compatibility layer)
Ubuntu
- Ubuntu 12.04 (Precise Pangolin) LTS: Default init system is Upstart (with sysvinit compatibility layer)
- Ubuntu 14.04 (Trusty Thar) LTS: Default init system is Upstart (with sysvinit compatibility layer)
- Ubuntu 16.04 (Xenial Xerus) LTS: Default init system is systemd (with sysvinit compatibility layer)
with sysvinit compatibility layer mean that if a package provides a sysvinit script (/etc/init.d/<services>), it will be used if there is no systemd service unit file or Upstart job configuration file, depending on the system init in use on your system.
Note: Debian Stretch and
Ubuntu 16.04 LTSwere not released yet. -
-
Oh...,I see this service. Sorry