#!/bin/bash : ' @vendor Chorke Academia, Inc. @web https://cdn.chorke.org/docs/academia @version 1.0.00 @since 1.0.00 ' :</dev/null </dev/null < ${MINIO_HOME}/run/minio.pid" ExecStart=${MINIO_HOME}/bin/minio server \$MINIO_OPTS \$MINIO_VOLUMES ExecStop=/bin/kill -s TERM \$MAINPID PIDFile=${MINIO_HOME}/run/minio.pid Restart=always LimitNOFILE=1048576 TasksMax=infinity TimeoutStopSec=infinity [Install] WantedBy=multi-user.target EOF } function launch(){ sudo systemctl daemon-reload sudo systemctl enable minio.service sudo systemctl start minio.service sudo systemctl status minio.service } function init(){ validate download approve install launch } init