blob: 84c5af155fd4e1ca0a5b47fa269dab1254881688 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
}
|