Skip to content

Instantly share code, notes, and snippets.

@nazoking nazoking/build.sbt
Last active Aug 29, 2015

What would you like to do?
play2.3 で start スクリプトが消えたので対処
// ↓ start を server/start に保存して build.sbt で
mappings in com.typesafe.sbt.SbtNativePackager.Universal += (file("server/start") , "start")
ORIGIN=$(dirname $(readlink -f $(which $0)))
BASE=$(dirname $(which $0))
# RUNNING_PID の出来る場所が、シンボリックリンクをたどってしまう。startスクリプトの呼ばれた位置にできるように変更
$ORIGIN/bin/facetouch "$@" -Dpidfile.path=${BASE}/RUNNING_PID
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.