mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 18:45:55 +00:00
Merge branch 'master' of github.com:jedmccaleb/NewCoin
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -12,6 +12,7 @@
|
|||||||
# Ignore object files.
|
# Ignore object files.
|
||||||
*.o
|
*.o
|
||||||
obj/*
|
obj/*
|
||||||
|
bin/newcoind
|
||||||
|
|
||||||
newcoind
|
newcoind
|
||||||
|
|
||||||
|
|||||||
6
bin/network-build
Executable file
6
bin/network-build
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
cd ~/NewCoin
|
||||||
|
git pull
|
||||||
|
scons -j 2
|
||||||
|
cp -p newcoind bin/
|
||||||
10
bin/network-init
Executable file
10
bin/network-init
Executable file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# XXX Should not need to make db directory. newcoind should do this.
|
||||||
|
for SITE in $HOSTS
|
||||||
|
do
|
||||||
|
echo "Clearing db for:" $SITE
|
||||||
|
DB_DIR="/var/www/$SITE/db/"
|
||||||
|
mkdir -p "/var/www/$SITE/db/"
|
||||||
|
rm -rf "/var/www/$SITE/db/*"
|
||||||
|
done
|
||||||
5
bin/network-restart
Executable file
5
bin/network-restart
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
network-stop
|
||||||
|
sleep 1
|
||||||
|
network-start
|
||||||
6
bin/network-start
Executable file
6
bin/network-start
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
for SITE in $HOSTS
|
||||||
|
do
|
||||||
|
(nx $SITE &)
|
||||||
|
done
|
||||||
6
bin/network-stop
Executable file
6
bin/network-stop
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
for SITE in $HOSTS
|
||||||
|
do
|
||||||
|
(nx $SITE stop &)
|
||||||
|
done
|
||||||
5
bin/network-update
Executable file
5
bin/network-update
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh -x
|
||||||
|
echo "Building and restarting."
|
||||||
|
|
||||||
|
network-build
|
||||||
|
network-restart
|
||||||
Reference in New Issue
Block a user