#!/bin/sh PYTHON=`which python` DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $DIR $PYTHON -m octoprint.server $@