I really don't think I'd +1 this without a real solution to this.


On Thu, Nov 7, 2013 at 12:37 PM, Robert Sköld <notifications@github.com>wrote:

> In dokku:
>
> > @@ -47,18 +47,17 @@ case "$1" in
> >      APP="$2"; IMAGE="$3"
> >      pluginhook pre-deploy $APP $IMAGE
> >
> > -    # kill the app when running
> > -    if [[ -f "$DOKKU_ROOT/$APP/PORT" ]]; then
> > -      oldid=$(< "$DOKKU_ROOT/$APP/CONTAINER")
> > -      docker kill $oldid > /dev/null
> > -    fi
> > +    dokku ps:deploy $APP
>
> I know it's a bit of a specific hack but would it suffice to wrap the
> current code in an if?
>
> if [[ ! -f "$APP_PATH/PS" ]]; then
>   # current kill / start code here
> fi
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/progrium/dokku/pull/298/files#r7509242>
> .
>



-- 
Jeff Lindsay
http://progrium.com