Skip to content

Commit 690c39b

Browse files
author
gaoruoshu
committedNov 4, 2021
atune: add new application proftpd
1 parent 89cddb6 commit 690c39b

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed
 
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
project: "proftpd"
2+
maxiterations: 100
3+
startworkload: "systemctl start proftpd"
4+
stopworkload: "systemctl stop proftpd"
5+
object :
6+
-
7+
name : "proftpd.ftpd_full_access"
8+
-
9+
name : "proftpd.ftpd_use_fusefs"
10+
-
11+
name : "proftpd.ftpd_use_passive_mode"
12+

‎tuning/yamls/tuning_params_all.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5740,4 +5740,40 @@ The default value is 2048. You are advised to change the value to 8192."
57405740
- 1
57415741
- 3600
57425742
dtype : "int"
5743+
-
5744+
name : "proftpd.ftpd_full_access"
5745+
info :
5746+
desc : "Allows the ftp daemon to read and write all files on the system."
5747+
get : cat /etc/proftpd.conf | grep "ftpd_full_access" | awk -F '=' '{print $2}'
5748+
set : sed -i 's/ftpd_full_access.*$/ftpd_full_access=$value/g' /etc/proftpd.conf
5749+
needrestart : "true"
5750+
type : "continuous"
5751+
scope :
5752+
- 0
5753+
- 1
5754+
dtype : "int"
5755+
-
5756+
name : "proftpd.ftpd_use_fusefs"
5757+
info :
5758+
desc : "Allows the ftp daemon to read and write files on ntfs/fusefs-mounted filesystems."
5759+
get : cat /etc/proftpd.conf | grep "ftpd_use_fusefs" | awk -F '=' '{print $2}'
5760+
set : sed -i 's/ftpd_use_fusefs.*$/ftpd_use_fusefs=$value/g' /etc/proftpd.conf
5761+
needrestart : "true"
5762+
type : "continuous"
5763+
scope :
5764+
- 0
5765+
- 1
5766+
dtype : "int"
5767+
-
5768+
name : "proftpd.ftpd_use_passive_mode"
5769+
info :
5770+
desc : "Allows the ftp daemon to bind to all unreserved ports for passive mode."
5771+
get : cat /etc/proftpd.conf | grep "ftpd_use_passive_mode" | awk -F '=' '{print $2}'
5772+
set : sed -i 's/ftpd_use_passive_mode.*$/ftpd_use_passive_mode=$value/g' /etc/proftpd.conf
5773+
needrestart : "true"
5774+
type : "continuous"
5775+
scope :
5776+
- 0
5777+
- 1
5778+
dtype : "int"
57435779

0 commit comments

Comments
 (0)
Please sign in to comment.