minio: Import packages, bump to latest release

Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
2023-09-14 17:37:23 +02:00
parent dc69cf0beb
commit 9d1f877ab0
12 changed files with 154 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
[Unit]
Description=MinIO
Documentation=https://docs.min.io
Wants=network-online.target
After=network-online.target
AssertFileIsExecutable=/usr/bin/minio
[Service]
User=minio
Group=minio
EnvironmentFile=/etc/default/minio
ExecStartPre=/bin/sh -c "if [ -z \"${MINIO_VOLUMES}\" ]; then echo \"Variable MINIO_VOLUMES not set in /etc/default/minio\"; exit 1; fi"
ExecStart=/usr/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
# 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})