diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-14 10:30:13 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-14 10:30:13 +0100 |
commit | 616579b5d773c50af31ee56f00105d96ce641ca2 (patch) | |
tree | 2ad4d3ba1429bd93a36ab99a2f5ec3490412115e /net-ftp/vsftpd/files/vsftpd.init-3.0.5 | |
parent | 068424b26532f3551a81421a9be67ed206e5c11a (diff) |
gentoo resync : 14.08.2021
Diffstat (limited to 'net-ftp/vsftpd/files/vsftpd.init-3.0.5')
-rw-r--r-- | net-ftp/vsftpd/files/vsftpd.init-3.0.5 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net-ftp/vsftpd/files/vsftpd.init-3.0.5 b/net-ftp/vsftpd/files/vsftpd.init-3.0.5 new file mode 100644 index 000000000000..cc9ad7f4a803 --- /dev/null +++ b/net-ftp/vsftpd/files/vsftpd.init-3.0.5 @@ -0,0 +1,19 @@ +#!/sbin/openrc-run +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License, v2 + +instance=${RC_SVCNAME#*.} + +: ${command=/usr/sbin/vsftpd} +command_background=true + +if [ "${instance}" = "${RC_SVCNAME}" ]; then + : ${pidfile=/run/vsftpd.pid} +else + : ${command_args=/etc/vsftpd/${instance}.conf} + : ${pidfile=/run/vsftpd.${instance}.pid} +fi + +depend() { + use dns logger net +} |