提交 b2b17c48 作者: bo.sun

更新 minio.service

上级 32ef7db7
...@@ -2,17 +2,13 @@ ...@@ -2,17 +2,13 @@
Description=MinIO Description=MinIO
Documentation=https://docs.min.io Documentation=https://docs.min.io
After=systemd-networkd.service After=systemd-networkd.service
AssertFileIsExecutable=/usr/bin/minio
[Service] [Service]
EnvironmentFile=/usr/local/minio.conf EnvironmentFile=/usr/local/minio.conf
ExecStartPre=/opt/tool/server_type.sh 'objectServer' ExecStartPre=/opt/tool/server_type.sh 'objectServer'
ExecStart=/usr/bin/minio server $MINIO_OPTS $MINIO_VOLUMES ExecStart=/usr/local/minio server $MINIO_OPTS $MINIO_VOLUMES
LimitNOFILE=65536 LimitNOFILE=65536
TimeoutStopSec=infinity TimeoutStopSec=5
Restart=on-failure
RestartSec=45s
SendSIGKILL=no
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论