diff options
Diffstat (limited to 'waev/run')
-rwxr-xr-x | waev/run | 22 |
1 files changed, 14 insertions, 8 deletions
@@ -1,10 +1,16 @@ -#!/bin/sh +#!/bin/execlineb -source $(dirname $0)/env +envfile env -s6-setuidgid gramos sh -c ' -cd ~/git/waev -mix deps.get -mix phx.digest -exec mix phx.server -' +importas -S WAEV_USER +s6-setuidgid $WAEV_USER + +importas -S WAEV_PATH +cd $WAEV_PATH + +foreground { + mix deps.get + mix phx.digest +} + +mix phx.server |