mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 9d4d2bf6e6e2884852ba4e69e157a2cecd68c5a7635d66a3a8cf8d898c955ef7 vsftpd-3.0.3.tar.gz
|
||||
sha256 9d4d2bf6e6e2884852ba4e69e157a2cecd68c5a7635d66a3a8cf8d898c955ef7 vsftpd-3.0.3.tar.gz
|
||||
# Locally computed
|
||||
sha256 c9cf119e2f9dbcf187fb805ba5aded105db26a693803636fb7228c98460ffbf2 COPYING
|
||||
|
||||
@@ -47,6 +47,11 @@ define VSFTPD_USERS
|
||||
ftp -1 ftp -1 * /home/ftp - - Anonymous FTP User
|
||||
endef
|
||||
|
||||
define VSFTPD_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 package/vsftpd/vsftpd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/vsftpd.service
|
||||
endef
|
||||
|
||||
define VSFTPD_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -D -m 755 package/vsftpd/S70vsftpd $(TARGET_DIR)/etc/init.d/S70vsftpd
|
||||
endef
|
||||
|
||||
12
package/vsftpd/vsftpd.service
Normal file
12
package/vsftpd/vsftpd.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=vsftpd FTP server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/sbin/vsftpd /etc/vsftpd.conf
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user