Service restart command on VSFTP install pages

Bug #1723164 reported by Sarel Smit
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Server Guide
New
Undecided
Unassigned

Bug Description

On the page that documents how to install vsftp(https://help.ubuntu.com/lts/serverguide/ftp-server.html) it constantly uses:"sudo restart vsftpd" - should it not be:"sudo service restart vsftpd" ?

Revision history for this message
Doug Smythies (dsmythies) wrote :

Well, actually it should be (I think):

sudo systemctl restart vsftpd

But the original error that you point out is why we missed it when we changed the entire serverguide to the systemctl commands. Thanks.

@Sarel; I don't have vsftpd on my test server, could you verify the above command on your computer?

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

systemctl restart works with vsftpd in xenial:

ubuntu@xenial-vsftpd:~$ pidof vsftpd
1118

ubuntu@xenial-vsftpd:~$ sudo systemctl restart vsftpd

ubuntu@xenial-vsftpd:~$ pidof vsftpd
1177

ubuntu@xenial-vsftpd:~$ apt-cache policy vsftpd
vsftpd:
  Installed: 3.0.3-3ubuntu2
  Candidate: 3.0.3-3ubuntu2
  Version table:
 *** 3.0.3-3ubuntu2 500
        500 http://br.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.