You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
653 B
36 lines
653 B
9 years ago
|
# Readme
|
||
|
Service script for minio service for systemd.
|
||
|
|
||
|
# Installation
|
||
|
```
|
||
|
mkdir /etc/minio/
|
||
|
mkdir -p /usr/share/minio/bin/
|
||
|
wget -o /usr/share/minio/bin/minio http://...
|
||
|
```
|
||
|
|
||
|
Create minio user.
|
||
|
```
|
||
|
useradd minio
|
||
|
```
|
||
|
|
||
|
Create default configuration. Don't forget to update MINIO_VOLUMES with the correct path(s).
|
||
|
```
|
||
|
cat <<EOT >> /etc/default/minio
|
||
|
MINIO_OPTS="--address :9000"
|
||
|
MINIO_VOLUMES="/tmp/minio/"
|
||
|
EOT
|
||
|
```
|
||
|
|
||
|
# Systemctl
|
||
|
|
||
|
Put minio.service in /etc/systemd/system/
|
||
|
```
|
||
|
curl https://raw.githubusercontent.com/minio/minio/master/dist/linux-systemd/minio.service > /etc/systemd/system/
|
||
|
```
|
||
|
|
||
|
Enable startup on boot
|
||
|
```
|
||
|
systemctl enable minio.service
|
||
|
```
|
||
|
|