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=/usr/local/bin/minio/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})
root@bpi-iot-jsho-minio-01:~# systemctl status minio * minio.service – MinIO Loaded: loaded (/etc/systemd/system/minio.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2021-12-16 14:27:57 CET; 1min 8s ago Docs: https://docs.min.io Process: 10053 ExecStartPre=/bin/bash -c if [ -z „${MINIO_VOLUMES}“ ]; then echo „Variable MINIO_VOLUMES not set in /etc/default/minio“; exit 1; fi (code=exited, status=0/SUCCESS) Main PID: 10054 (minio) Tasks: 14 Memory: 88.3M CPU: 7.312s CGroup: /system.slice/minio.service `-10054 /usr/local/bin/minio/minio server -C /etc/minio /usr/local/share/minio/data{1…4}
Dez 16 14:27:57 bpi-iot-jsho-minio-01 systemd[1]: Started MinIO. Dez 16 14:28:00 bpi-iot-jsho-minio-01 minio[10054]: WARNING: MINIO_ACCESS_KEY and MINIO_SECRET_KEY are deprecated. Dez 16 14:28:00 bpi-iot-jsho-minio-01 minio[10054]: Please use MINIO_ROOT_USER and MINIO_ROOT_PASSWORD Dez 16 14:28:01 bpi-iot-jsho-minio-01 minio[10054]: Verifying if 1 bucket is consistent across drives… Dez 16 14:28:01 bpi-iot-jsho-minio-01 minio[10054]: Automatically configured API requests per node based on available memory on the system: 11 Dez 16 14:28:02 bpi-iot-jsho-minio-01 minio[10054]: Status: 4 Online, 0 Offline. Dez 16 14:28:02 bpi-iot-jsho-minio-01 minio[10054]: API: http://192.168.1.168:9000 http://127.0.0.1:9000 Dez 16 14:28:02 bpi-iot-jsho-minio-01 minio[10054]: Console: http://192.168.1.168:45641 http://127.0.0.1:45641 Dez 16 14:28:02 bpi-iot-jsho-minio-01 minio[10054]: Documentation: https://docs.min.io Dez 16 14:28:02 bpi-iot-jsho-minio-01 minio[10054]: WARNING: Console endpoint is listening on a dynamic port (45641), please use –console-address „:PORT“ to choose a static port. root@bpi-iot-jsho-minio-01:~#
root@bpi-iot-jsho-minio-01:~# ./mc admin update myminio/ Server `myminio/` updated successfully from 2021-11-24T23:19:33Z to 2021-12-10T23-03-39Z root@bpi-iot-jsho-minio-01:~#
root@bpi-iot-jsho-minio-01:~# ./mc admin update myminio/ Server `myminio/` already running the most recent version 2021-12-10T23:03:39Z of MinIO root@bpi-iot-jsho-minio-01:~#