diff --git a/vsftpd.service b/vsftpd.service new file mode 100644 index 0000000..8ebae44 --- /dev/null +++ b/vsftpd.service @@ -0,0 +1,10 @@ +[Unit] +Description=Vsftpd ftp daemon +After=network.target + +[Service] +Type=forking +ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf + +[Install] +WantedBy=multi-user.target diff --git a/vsftpd@.service b/vsftpd@.service deleted file mode 100644 index 6324ec8..0000000 --- a/vsftpd@.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=Vsftpd ftp daemon -After=syslog.target network.target - -[Service] -# Follow the steps below to set up an additional configuration file: -# -# cp /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd2.conf -# ln -s /lib/systemd/system/vsftpd@.service /lib/systemd/system/vsftpd@vsftpd2.service -# -Type=oneshot -ExecStart=/usr/sbin/vsftpd /etc/vsftpd/%i.conf -RemainAfterExit=yes - -[Install] -WantedBy=multi-user.target