mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-02 06:46:24 -07:00
Don't enable gochan service in vagrant bootstrap, add bbig alias
This commit is contained in:
parent
6085988889
commit
19e27da5a6
1 changed files with 1 additions and 2 deletions
|
@ -41,7 +41,6 @@ if [ "$DBTYPE" == "mysql" ]; then
|
|||
if [ -d /lib/systemd ]; then
|
||||
cp /vagrant/examples/configs/gochan-mysql.service /lib/systemd/system/gochan.service
|
||||
systemctl daemon-reload
|
||||
systemctl enable gochan.service
|
||||
fi
|
||||
elif [ "$DBTYPE" == "postgresql" ]; then
|
||||
# using PostgreSQL (mostly stable)
|
||||
|
@ -63,7 +62,6 @@ elif [ "$DBTYPE" == "postgresql" ]; then
|
|||
if [ -d /lib/systemd ]; then
|
||||
cp /vagrant/examples/configs/gochan-postgresql.service /lib/systemd/system/gochan.service
|
||||
systemctl daemon-reload
|
||||
systemctl enable gochan.service
|
||||
fi
|
||||
elif [ "$DBTYPE" == "sqlite3" ]; then
|
||||
apt install sqlite3
|
||||
|
@ -140,6 +138,7 @@ export GOPATH=/home/vagrant/go
|
|||
EOF
|
||||
|
||||
su - vagrant <<EOF
|
||||
echo 'alias bbig="cd /vagrant && ./build.py && sudo ./build.py install && sudo -E ./gochan"' >> /home/vagrant/.bash_aliases
|
||||
mkdir -p /home/vagrant/go
|
||||
source /home/vagrant/.bashrc
|
||||
cd /vagrant/devtools
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue