Skip to content

Instantly share code, notes, and snippets.

@elico elico/
Created Jul 10, 2016

What would you like to do?
#!/usr/bin/env bash
lockfile -r 0 /tmp/store-fetcher.lock || exit 1
/usr/bin/store-fetcher -dir=/var/storedata
echo ""
echo ""
echo "removing lock file: /tmp/store-fetcher.lock"
rm -f /tmp/store-fetcher.lock
ExecStart=/usr/bin/ms-updates-logger-proxy_linux_amd64 -listen=:8080 -dir=/var/storedata

This comment has been minimized.

Copy link

omidkosari commented Jul 17, 2016

You should add following line to line 4 of

ulimit -n 65535

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.