summarylogtreecommitdiffstats
path: root/wrapper
blob: 09efe6ec7d6a31e8d02f368e3c8effd68327adc6 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
TMPPATH=$(mktemp -d "/tmp/lua-language-server.XXXX")
DEFAULT_LOGPATH="$TMPPATH/log"
DEFAULT_METAPATH="$TMPPATH/meta"

exec /usr/lib/lua-language-server/bin/lua-language-server -E /usr/lib/lua-language-server/main.lua \
  --logpath="$DEFAULT_LOGPATH" --metapath="$DEFAULT_METAPATH" \
  "$@"