ac8676
diff -up vsftpd-3.0.2/vsftpd.8.sd vsftpd-3.0.2/vsftpd.8
ac8676
--- vsftpd-3.0.2/vsftpd.8.sd	2013-09-04 13:04:40.383348837 +0200
ac8676
+++ vsftpd-3.0.2/vsftpd.8	2013-09-04 13:45:00.370277842 +0200
ac8676
@@ -25,6 +25,23 @@ in
ac8676
 Direct execution of the
ac8676
 .Nm vsftpd
ac8676
 binary will then launch the FTP service ready for immediate client connections.
ac8676
+.Pp
ac8676
+Systemd changes the vsftpd daemon start-up. The vsftpd package contains vsftpd-generator script generating symbolic links to /var/run/systemd/generator/vsftpd.target.wants directory. The generator is called during e.g. 'systemctl --system daemon-reload'. All these symbolic links link /usr/lib/systemd/system/vsftpd@.service file.
ac8676
+The vsftpd daemon(s) is/are controlled by one of following ways:
ac8676
+.Pp
ac8676
+1. Single daemon using default /etc/vsftpd/vsftpd.conf configuration file
ac8676
+.br
ac8676
+# systemctl {start,stop,...} vsftpd[.service]
ac8676
+.Pp
ac8676
+2. Single daemon using /etc/vsftpd/<conf-name>.conf
ac8676
+.br
ac8676
+# systemctl {start,stop,...} vsftpd@<conf-name>[.service]
ac8676
+.Pp
ac8676
+3. All instances together
ac8676
+.br
ac8676
+# systemctl {restart,stop} vsftpd.target
ac8676
+.Pp
ac8676
+See systemd.unit(5), systemd.target(5) for further details.
ac8676
 .Sh OPTIONS
ac8676
 An optional
ac8676
 configuration file or files
ac8676
@@ -55,6 +72,13 @@ the "ftpd_banner" setting is set to "bla
ac8676
 setting and any identical setting that was in the config file.
ac8676
 .Sh FILES
ac8676
 .Pa /etc/vsftpd/vsftpd.conf
ac8676
+.Pp
ac8676
+.Pa /usr/lib/systemd/system/vsftpd.service
ac8676
+.Pp
ac8676
+.Pa /usr/lib/systemd/system/vsftpd@.service
ac8676
+.Pp
ac8676
+.Pa /usr/lib/systemd/system/vsftpd.target
ac8676
 .Sh SEE ALSO
ac8676
 .Xr vsftpd.conf 5
ac8676
+.Xr systemd.unit 5
ac8676
 .end
ac8676
diff -up vsftpd-3.0.2/vsftpd.conf.5.sd vsftpd-3.0.2/vsftpd.conf.5
ac8676
--- vsftpd-3.0.2/vsftpd.conf.5.sd	2013-09-04 13:04:40.391348915 +0200
ac8676
+++ vsftpd-3.0.2/vsftpd.conf.5	2013-09-04 13:44:57.573250302 +0200
ac8676
@@ -12,7 +12,23 @@ inetd such as
ac8676
 .BR xinetd
ac8676
 to launch vsftpd with different configuration files on a per virtual host
ac8676
 basis.
ac8676
-
ac8676
+.P
ac8676
+Systemd changes the vsftpd daemon start-up. The vsftpd package contains vsftpd-generator script generating symbolic links to /var/run/systemd/generator/vsftpd.target.wants directory. The generator is called during e. g. 'systemctl --system daemon-reload'. All these symbolic links link /usr/lib/systemd/system/vsftpd@.service file.
ac8676
+The vsftpd daemon(s) is/are controlled by one of following ways:
ac8676
+.P
ac8676
+1. Single daemon using default /etc/vsftpd/vsftpd.conf configuration file
ac8676
+.br
ac8676
+# systemctl {start,stop,...} vsftpd[.service]
ac8676
+.P
ac8676
+2. Single daemon using /etc/vsftpd/<config-filename>.conf
ac8676
+.br
ac8676
+# systemctl {start,stop,...} vsftpd@<config-filename-without-extension>[.service]
ac8676
+.P
ac8676
+3. All instances together
ac8676
+.br
ac8676
+# systemctl {restart,stop} vsftpd.target
ac8676
+.P
ac8676
+See systemd.unit(5), systemd.target(5) for further details.
ac8676
 .SH FORMAT
ac8676
 The format of vsftpd.conf is very simple. Each line is either a comment or
ac8676
 a directive. Comment lines start with a # and are ignored. A directive line