#!/bin/bash

BINARY=./snapshot/bin/daemon

if [ ! -x "$BINARY" ]; then
    echo "Error: $BINARY not exists" >&2
    exit 1
fi

exec "$BINARY" \
    -C AppPath=$(pwd)/snapshot \
    "$@"
