revert update smarttms.service pure--ftpd.config dcp
This commit is contained in:
zj
2025-12-02 01:28:22 +08:00
parent 1c26e23603
commit 5f078f0027
8 changed files with 26 additions and 411 deletions

View File

@@ -37,7 +37,7 @@ BrokenClientsCompatibility no
# Maximum number of simultaneous users
MaxClientsNumber 100
MaxClientsNumber 50
@@ -62,7 +62,7 @@ VerboseLog no
# List dot-files even when the client doesn't send "-a".
DisplayDotFiles no
DisplayDotFiles yes
@@ -258,13 +258,13 @@ AllowAnonymousFXP no
# even if they own them. But if TrustedGID is enabled, that group
# will exceptionally have access to dot-files.
ProhibitDotFilesWrite yes
ProhibitDotFilesWrite no
# Prohibit *reading* of files starting with a dot (.history, .ssh...)
ProhibitDotFilesRead yes
ProhibitDotFilesRead no
@@ -449,7 +449,7 @@ CustomerProof yes
# Listen only to IPv4 addresses in standalone mode (ie. disable IPv6)
# By default, both IPv4 and IPv6 are enabled.
IPV4Only yes
# IPV4Only yes

View File

@@ -0,0 +1 @@
/etc/systemd/system/smarttms.service

View File

@@ -0,0 +1,19 @@
[Unit]
Description=SmartTMS Service
After=mysqld.service
Wants=mysqld.service
[Service]
Type=forking
User=root
ExecStart=/usr/bin/smarttms start
ExecStop=/usr/bin/smarttms stop
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
RestartSec=5
TimeoutStartSec=300
TimeoutStopSec=300
[Install]
WantedBy=multi-user.target