Files
weedfs/weedvol.service

26 lines
891 B
Desktop File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[Unit]
Description=SeaweedFSVolume
After=weedmst.service
After=network.target
[Service]
Type=simple
User=root
Group=root
#numactl --cpunodebind=netdev:ens1f1 --membind=netdev:ens1f1 --
#-index=leveldb
#ExecStart=/usr/local/bin/weed volume -index=memory -dir=/mnt/chunk/hdd_9XG1J9J1/weed -mserver=172.16.11.5:9333,172.16.111.10:9333,10.0.254.1:9333 -port=8080 -dataCenter=dc1 -rack=rack1 -max=0 -metricsPort=9997 -hasSlowRead=true
ExecStart=/usr/local/bin/weed volume -index=leveldb -dir=/mnt/chunk/hdd_9XG1J9J1/weed -master=172.16.11.5:9333,172.16.111.10:9333,10.0.254.1:9333 -port=8080 -dataCenter=dcA -rack=rack1 -max=0 -metricsPort=9997 -hasSlowRead=true
#-readMode=proxy -readBufferSizeMB=64 -concurrentDownloadLimitMB=10000 concurrentUploadLimitMB=10000
Restart=on-failure
RestartSec=60
StartLimitInterval=0
SyslogIdentifier=weedfs-volume
[Install]
WantedBy=multi-user.target