Created
July 10, 2016 21:19
-
-
Save elico/89b4789881f2b1f4a443e736b4302545 to your computer and use it in GitHub Desktop.
ms-updates-logger-proxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=ms-updates-store | |
#Requires=networking.service | |
[Service] | |
ExecStart=/usr/bin/ms-updates-logger-proxy_linux_amd64 -listen=:8080 -dir=/var/storedata | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should add following line to line 4 of fetch-task.sh
ulimit -n 65535