Skip to content
Branch: master
Find file History

Latest commit


Type Name Latest commit message Commit time
Failed to load latest commit information.

Systemd service for MinIO

Systemd script for Distributed MinIO server.


  • Systemd script is configured to run the binary from /usr/local/bin/.
  • Systemd script is configured to run the binary as minio-user, make sure you create this user prior using service script.
  • Download the binary. Find the relevant links for the binary at

Create the Environment configuration file

This file serves as input to MinIO systemd service. Use this file to add MINIO_VOLUMES with the correct paths, MINIO_OPTS to add MinIO server options like certs-dir, address. MinIO credentials should be MINIO_ACCESS_KEY and MINIO_SECRET_KEY in this file as well.

$ cat <<EOT >> /etc/default/minio
# Remote volumes to be used for MinIO server.
# Use if you want to run MinIO on a custom port.
MINIO_OPTS="--address :9199"
# Access Key of the server.
# Secret key of the server.


For distributed setup it is required to copy this file across all nodes to have consistent credentials.


Download minio.service in /etc/systemd/system/

( cd /etc/systemd/system/; curl -O )

Enable startup on boot

systemctl enable minio.service


  • Replace User=minio-user and Group=minio-user in minio.service file with your local setup.
  • Ensure that MINIO_VOLUMES source has appropirate write access.
You can’t perform that action at this time.