# Volume to be used for MinIO server. MINIO_VOLUMES="http://10.10.253.16:19000/opt/minio/data/drive1 http://10.10.253.16:19000/opt/minio/data/drive2 http://10.10.253.17:19000/opt/minio/data/drive1 http://10.10.253.17:19000/opt/minio/data/drive2 http://10.10.253.18:19000/opt/minio/data/drive1 http://10.10.253.18:19000/opt/minio/data/drive2" ### Please provide an even number of endpoints greater or equal to 4 # Use if you want to run MinIO on a custom port. MINIO_OPTS="--address :19000 --console-address :19001" # Root user for the server. MINIO_ROOT_USER=admin # Root secret for the server. MINIO_ROOT_PASSWORD=passw0rd
EnvironmentFile=-/etc/default/minio ExecStartPre=/bin/bash -c "if [ -z \"${MINIO_VOLUMES}\" ]; then echo \"Variable MINIO_VOLUMES not set in /etc/default/minio\"; exit 1; fi" ExecStart=/opt/minio/bin/minio server $MINIO_OPTS $MINIO_VOLUMES
# Let systemd restart this service always Restart=always
# Specifies the maximum file descriptor number that can be opened by this process LimitNOFILE=65536
# Specifies the maximum number of threads this process can create TasksMax=infinity
# Disable timeout logic and wait until process is stopped TimeoutStopSec=infinity SendSIGKILL=no
[Install] WantedBy=multi-user.target
# Built for ${project.name}-${project.version} (${project.name})