blob: b684c7e79c971c0fc7ffdf343c6a82be976cad64 [file] [log] [blame]
#!/bin/sh
# Source code: https://github.com/rnewson/elixir-certs/
# We want the keys to be u=rw,go=, but there's no way to do that in
# Elixir without race conditions, afaict, so we use umask:
umask 077
SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT")
exec elixir "$SCRIPTPATH/certs.exs" "$@"