Change links

This commit is contained in:
Pavel Khakhulin 2017-09-29 18:29:56 +03:00
parent 067bb3dc97
commit f089bd8bfc
5 changed files with 38 additions and 59 deletions

View File

@ -28,47 +28,47 @@ start_logentries() {
sudo bash -c "cat >> /etc/le/config << EOF sudo bash -c "cat >> /etc/le/config << EOF
[install_err] [install_err]
path = /var/lib/waagent/custom-script/download/0/stderr path = /var/lib/waagent/custom-script/download/0/stderr
destination = TestTestNets/${EXT_IP} destination = dev-mainnet/${EXT_IP}
[install_out] [install_out]
path = /var/lib/waagent/custom-script/download/0/stdout path = /var/lib/waagent/custom-script/download/0/stdout
destination = TestTestNets/${EXT_IP} destination = dev-mainnet/${EXT_IP}
[dashboard_err] [dashboard_err]
path = /home/${ADMIN_USERNAME}/logs/dashboard.err path = /home/${ADMIN_USERNAME}/logs/dashboard.err
destination = TestTestNets/${EXT_IP} destination = dev-mainnet/${EXT_IP}
[dashboard_out] [dashboard_out]
path = /home/${ADMIN_USERNAME}/logs/dashboard.out path = /home/${ADMIN_USERNAME}/logs/dashboard.out
destination = TestTestNets/${EXT_IP} destination = dev-mainnet/${EXT_IP}
[parity_log] [parity_log]
path = /home/${ADMIN_USERNAME}/logs/parity.log path = /home/${ADMIN_USERNAME}/logs/parity.log
destination = TestTestNets/${EXT_IP} destination = dev-mainnet/${EXT_IP}
[netstats_daemon_err] [netstats_daemon_err]
path = /home/${ADMIN_USERNAME}/logs/netstats_daemon.err path = /home/${ADMIN_USERNAME}/logs/netstats_daemon.err
destination = TestTestNets/${EXT_IP} destination = dev-mainnet/${EXT_IP}
[netstats_daemon_out] [netstats_daemon_out]
path = /home/${ADMIN_USERNAME}/logs/netstats_daemon.out path = /home/${ADMIN_USERNAME}/logs/netstats_daemon.out
destination = TestTestNets/${EXT_IP} destination = dev-mainnet/${EXT_IP}
[explorer_err] [explorer_err]
path = /home/${ADMIN_USERNAME}/logs/explorer.err path = /home/${ADMIN_USERNAME}/logs/explorer.err
destination = TestTestNets/${EXT_IP} destination = dev-mainnet/${EXT_IP}
[explorer_out] [explorer_out]
path = /home/${ADMIN_USERNAME}/logs/explorer.out path = /home/${ADMIN_USERNAME}/logs/explorer.out
destination = TestTestNets/${EXT_IP} destination = dev-mainnet/${EXT_IP}
[parity_err] [parity_err]
path = /home/${ADMIN_USERNAME}/logs/parity.err path = /home/${ADMIN_USERNAME}/logs/parity.err
destination = TestTestNets/${EXT_IP} destination = dev-mainnet/${EXT_IP}
[parity_out] [parity_out]
path = /home/${ADMIN_USERNAME}/logs/parity.out path = /home/${ADMIN_USERNAME}/logs/parity.out
destination = TestTestNets/${EXT_IP} destination = dev-mainnet/${EXT_IP}
EOF" EOF"
sudo apt-get install -y logentries-daemon sudo apt-get install -y logentries-daemon
@ -112,7 +112,7 @@ declare -p
# script parameters # script parameters
#INSTALL_DOCKER_VERSION="17.03.1~ce-0~ubuntu-xenial" #INSTALL_DOCKER_VERSION="17.03.1~ce-0~ubuntu-xenial"
#INSTALL_DOCKER_IMAGE="parity/parity:v1.6.8" #INSTALL_DOCKER_IMAGE="parity/parity:v1.6.8"
INSTALL_CONFIG_REPO="https://raw.githubusercontent.com/oraclesorg/test-templates/dev/TestTestNet/bootnode" INSTALL_CONFIG_REPO="https://raw.githubusercontent.com/oraclesorg/test-templates/dev/dev-mainnet/bootnode"
GENESIS_REPO_LOC="https://raw.githubusercontent.com/oraclesorg/oracles-scripts/master/spec.json" GENESIS_REPO_LOC="https://raw.githubusercontent.com/oraclesorg/oracles-scripts/master/spec.json"
GENESIS_JSON="spec.json" GENESIS_JSON="spec.json"
NODE_TOML="node.toml" NODE_TOML="node.toml"

View File

@ -222,7 +222,7 @@
"autoUpgradeMinorVersion": true, "autoUpgradeMinorVersion": true,
"settings": { "settings": {
"fileUris": [ "fileUris": [
"https://raw.githubusercontent.com/oraclesorg/test-templates/dev/TestTestNet/bootnode/install.sh" "https://raw.githubusercontent.com/oraclesorg/test-templates/dev/dev-mainnet/bootnode/install.sh"
] ]
}, },
"protectedSettings": { "protectedSettings": {

View File

@ -26,31 +26,31 @@ start_logentries() {
sudo bash -c "cat >> /etc/le/config << EOF sudo bash -c "cat >> /etc/le/config << EOF
[install_err] [install_err]
path = /var/lib/waagent/custom-script/download/0/stderr path = /var/lib/waagent/custom-script/download/0/stderr
destination = TestTestNets/${EXT_IP} destination = dev-mainnet/${EXT_IP}
[install_out] [install_out]
path = /var/lib/waagent/custom-script/download/0/stdout path = /var/lib/waagent/custom-script/download/0/stdout
destination = TestTestNets/${EXT_IP} destination = dev-mainnet/${EXT_IP}
[netstats_daemon_err] [netstats_daemon_err]
path = /home/${ADMIN_USERNAME}/logs/netstats_daemon.err path = /home/${ADMIN_USERNAME}/logs/netstats_daemon.err
destination = TestTestNets/${EXT_IP} destination = dev-mainnet/${EXT_IP}
[netstats_daemon_out] [netstats_daemon_out]
path = /home/${ADMIN_USERNAME}/logs/netstats_daemon.out path = /home/${ADMIN_USERNAME}/logs/netstats_daemon.out
destination = TestTestNets/${EXT_IP} destination = dev-mainnet/${EXT_IP}
[parity_err] [parity_err]
path = /home/${ADMIN_USERNAME}/logs/parity.err path = /home/${ADMIN_USERNAME}/logs/parity.err
destination = TestTestNets/${EXT_IP} destination = dev-mainnet/${EXT_IP}
[parity_out] [parity_out]
path = /home/${ADMIN_USERNAME}/logs/parity.out path = /home/${ADMIN_USERNAME}/logs/parity.out
destination = TestTestNets/${EXT_IP} destination = dev-mainnet/${EXT_IP}
[parity_log] [parity_log]
path = /home/${ADMIN_USERNAME}/logs/parity.log path = /home/${ADMIN_USERNAME}/logs/parity.log
destination = TestTestNets/${EXT_IP} destination = dev-mainnet/${EXT_IP}
[transferReward_out] [transferReward_out]
path = /home/${ADMIN_USERNAME}/logs/transferRewardToPayoutKey.out path = /home/${ADMIN_USERNAME}/logs/transferRewardToPayoutKey.out
destination = TestTestNets/${EXT_IP} destination = dev-mainnet/${EXT_IP}
[transferReward_err] [transferReward_err]
path = /home/${ADMIN_USERNAME}/logs/transferRewardToPayoutKey.err path = /home/${ADMIN_USERNAME}/logs/transferRewardToPayoutKey.err
destination = TestTestNets/${EXT_IP} destination = dev-mainnet/${EXT_IP}
EOF" EOF"
sudo apt-get install -y logentries-daemon sudo apt-get install -y logentries-daemon
sudo service logentries start sudo service logentries start

View File

@ -236,7 +236,7 @@
"autoUpgradeMinorVersion": true, "autoUpgradeMinorVersion": true,
"settings": { "settings": {
"fileUris": [ "fileUris": [
"https://raw.githubusercontent.com/oraclesorg/test-templates/dev/TestTestNet/mining-node/install.sh" "https://raw.githubusercontent.com/oraclesorg/test-templates/dev/dev-mainnet/mining-node/install.sh"
] ]
}, },
"protectedSettings": { "protectedSettings": {

View File

@ -1,21 +0,0 @@
/home/ADMIN_USERNAME/logs/*.log {
rotate 10
size 200M
missingok
compress
copytruncate
dateext
dateformat %Y-%m-%d-%s
olddir old
}
/home/ADMIN_USERNAME/.pm2/pm2.log {
su ADMIN_USERNAME ADMIN_USERNAME
rotate 10
size 200M
missingok
compress
copytruncate
dateext
dateformat %Y-%m-%d-%s
}