summaryrefslogtreecommitdiff
path: root/src/start-bgpstore.sh
blob: 62abee1e20f2c1cccab4c150a2834754c2b1da8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh

HOST=$1
PORT=$2

[ -z "$HOST" ] && HOST=victoria.tug.nordu.net
[ -z "$PORT" ] && PORT=50001

# FIXME: The use-package postmodern should've been taken care of in
# package.lisp.

sbcl --no-userinit \
    --eval "(require 'asdf)" \
    --eval "(asdf:oos 'asdf:load-op 'postmodern)" \
    --eval "(use-package 'postmodern)" \
    --eval "(require 'bgpstore)" \
    --eval "(start-bgpstore \"$HOST\" $PORT)"