1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

move the config optoin CTDB_MANAGES_VSFTPD from /etc/sysconfig/vsftpd to /etc/sysconfig/ctdb

(This used to be ctdb commit 1ad0295f86370979d0537f7290f5e9c7d1ff6e94)
This commit is contained in:
Ronnie Sahlberg 2008-05-22 06:01:17 +10:00
parent 92a0c0fc13
commit f4ed8efa05
3 changed files with 7 additions and 2 deletions

View File

@ -46,6 +46,10 @@
# if left comented out then it will be autodetected based on smb.conf
# CTDB_MANAGES_WINBIND=yes
# should ctdb manage starting/stopping the VSFTPD service
# CTDB_MANAGES_VSFTPD=yes
# you may wish to raise the file descriptor limit for ctdb
# use a ulimit command here. ctdb needs one file descriptor per
# connected client (ie. one per connected client in Samba)

View File

@ -2,6 +2,7 @@
# event strict to manage vsftpd in a cluster environment
. $CTDB_BASE/functions
loadconfig ctdb
loadconfig vsftpd
[ "$CTDB_MANAGES_VSFTPD" = "yes" ] || exit 0

View File

@ -13,9 +13,9 @@ Setting up a vsftpd cluster is really easy.<br>
Configure vsftpd on each node on the cluster.<br><br>
Set up vsftpd to export directories from the shared cluster filesystem.
<h2>/etc/sysconfig/vsftpd</h2>
<h2>/etc/sysconfig/ctdb</h2>
Create the file /etc/sysconfig/vsftpd with the content :
Add the following line to the /etc/sysconfig/ctdb configuration file.
<pre>
CTDB_MANAGES_VSFTPD=yes
</pre>