Probiotics (in bot form) for programming.
Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
- #!/bin/sh
-
- echo "./uninstall.sh will destroy to whatever TARGET is set to, be careful!"
-
- # VARIABLES AND PATH
- TARGET=${TARGET-/opt/probotic}
- DIR=$(dirname $(readlink -f "$0"))
- cd $DIR
-
- # BUILD & BOOTSTRAP
- make -C $DIR DEBUG=0 NVULN=1 || exit 1
- $DIR/bootstrap/bootstrap.sh || exit 1
-
- # INSTALL
- mkdir -p $TARGET
- useradd probotic -r -s /sbin/nologin -d $TARGET
- install -v -g probotic -o probotic -m 744 \
- $DIR/bootstrap/probotic_data.sqlite probotic \
- $TARGET
- chown probotic:probotic $TARGET -R
|