Name: wait-for
Owner: ZEIT
Description: Small utility that waits for a file to exist and optionally have some permissions set.
Created: 2018-04-26 09:30:27.0
Updated: 2018-05-20 14:31:21.0
Pushed: 2018-04-26 10:07:16.0
Homepage: null
Size: 7
Language: C
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A small utility that waits for a file to exist, optionally with some permissions.
Either via Docker:
cker build -t zeit/wait-for .
or using CMake (requires Linux)
dir build && cd build
ake .. -DCMAKE_BUILD_TYPE=Release
ake --build .
-for [--help] [-rwx] <file>
s for a file to exist and optionally have one or modes
--help Shows this help message
--execute Wait for the file to become executable
--read Wait for the file to become readable
--write Wait for the file to become writable
--username The username to run access checks for (NOT the user ID)
ultiple modes are specified, wait-for waits for all of them to become available
Copyright © 2018 ZEIT, Inc. Released under the MIT License.