#!/bin/bash

# Deploy


if [[ $1 == "startserver" ]]; then
    deploy-startserver $2 $3
elif [[ $1 == "serverconf" ]]; then
    deploy-serverconf $2 $3
elif [[ $1 == "restart" ]]; then
    deploy-restart $2
elif [[ $1 == "init" ]]; then
    deploy-init
else
    echo "usage: deploy <command> [...]

commands:
    init
    startserver <appname> [<domains>]
    serverconf <appname> <service>
    restart <appname>
"
fi