Skip to content

Instantly share code, notes, and snippets.

@krishnasrinivas
Created February 17, 2021 18:33
Show Gist options
  • Save krishnasrinivas/8caefc9ff5afa0d5f0254e30cc2719c3 to your computer and use it in GitHub Desktop.
Save krishnasrinivas/8caefc9ff5afa0d5f0254e30cc2719c3 to your computer and use it in GitHub Desktop.
systemd service
[Unit]
Description=MinIO Monitor
After=network.target
[Service]
ExecStart=/bin/minio-monitor.sh
Restart=always
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment