fix systemd startlimit attributes
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2020-05-20 22:30:48 +02:00
parent 20bef94426
commit 20f78098d1

View File

@ -7,10 +7,6 @@ Wants=network-online.target
After=network-online.target
After=syslog.target
# Avoid noisy crashloops
StartLimitIntervalSec=60
StartLimitBurst=5
[Service]
WorkingDirectory={{ minio_base_dir }}
@ -23,6 +19,9 @@ ExecStartPre=/bin/bash -c "[ -n \"${MINIO_VOLUMES}\" ] || echo \"Variable MINIO_
ExecStart={{ minio_base_dir }}/minio server $MINIO_OPTS $MINIO_VOLUMES
Restart=always
# Avoid noisy crashloops
StartLimitInterval=60
StartLimitBurst=5
StandardOutput=journal
StandardError=inherit