add ExecStartPost=/bin/sleep 0.1 to systemd service files

pull/630/head
YuQing 2023-04-10 09:38:36 +08:00
parent 4f7715e378
commit 969cb24400
5 changed files with 7 additions and 5 deletions

View File

@ -8,7 +8,7 @@ connect_timeout = 5
network_timeout = 60
# the base path to store log files
base_path = /home/yuqing/fastdfs
base_path = /opt/fastdfs
# tracker_server can ocur more than once for multi tracker servers.
# the value format of tracker_server is "HOST:PORT",

View File

@ -46,7 +46,7 @@ stat_report_interval = 60
# NOTE: the binlog files maybe are large, make sure
# the base path has enough disk space,
# eg. the disk free space should > 50GB
base_path = /home/yuqing/fastdfs
base_path = /opt/fastdfs
# max concurrent connections the server supported,
# you should set this parameter larger, eg. 10240
@ -126,8 +126,8 @@ store_path_count = 1
# the store paths' order is very important, don't mess up!!!
# the base_path should be independent (different) of the store paths
store_path0 = /home/yuqing/fastdfs
#store_path1 = /home/yuqing/fastdfs2
store_path0 = /opt/fastdfs
#store_path1 = /opt/fastdfs2
# subdir_count * subdir_count directories will be auto created under each
# store_path (disk), value can be 1 to 256, default value is 256

View File

@ -20,7 +20,7 @@ connect_timeout = 5
network_timeout = 60
# the base path to store data and log files
base_path = /home/yuqing/fastdfs
base_path = /opt/fastdfs
# max concurrent connections this server support
# you should set this parameter larger, eg. 10240

View File

@ -6,6 +6,7 @@ After=network-online.target
Type=forking
PIDFile=/opt/fastdfs/data/fdfs_storaged.pid
ExecStart=/usr/bin/fdfs_storaged /etc/fdfs/storage.conf start
ExecStartPost=/bin/sleep 0.1
ExecStop=/usr/bin/fdfs_storaged /etc/fdfs/storage.conf stop
# No artificial start/stop timeout

View File

@ -6,6 +6,7 @@ After=network-online.target
Type=forking
PIDFile=/opt/fastdfs/data/fdfs_trackerd.pid
ExecStart=/usr/bin/fdfs_trackerd /etc/fdfs/tracker.conf start
ExecStartPost=/bin/sleep 0.1
ExecStop=/usr/bin/fdfs_trackerd /etc/fdfs/tracker.conf stop
# No artificial start/stop timeout