This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 0-23 * * * root systemctl restart orange.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description= Update Node information | |
#After=mongod.service | |
#StartLimitBurst=5 | |
#StartLimitIntervalSec=10 | |
[Service] | |
Type=simple | |
Restart=always | |
RestartSec=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
###################################################################### | |
# Copyright (c) 2020 | |
# All rights reserved. | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND. | |
# | |
# Desc: Batch script to download and setup Energi3 on Linux. The | |
# script will upgrade an existing installation. If v2 is | |
# installed on the VPS, the script can be used to auto migrate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
prog=$(basename $0) | |
mykeyfile=mykey.txt | |
myaddrfile=myaddr.txt | |
image=zilliqa/zilliqa:v8.1.0 | |
os=$(uname) | |
testnet_name='mainnet-oceandrive1' | |
exclusion_txbodies_mb="true" | |
bucket_name='c5b68604-8540-4887-ad29-2ab9e680f997' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
####################################################################### | |
# Copyright (c) 2020 | |
# All rights reserved. | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND. | |
# | |
# Desc: NRG Monitor Toolset: Set of tools to monitor and manage NRG | |
# Core Node, the reward received and notify the user via email | |
# SMS and Social Media channels. Currently, Discord and Telegram |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description= Z Restart | |
[Service] | |
Type=simple | |
Restart=always | |
RestartSec=1 | |
ExecStart=/home/user/zil/zil-monitor.sh | |
[Install] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Check for multiple screens, if more than one found - kill all | |
# if [[ $(screen -list | grep '.zil' | wc -l) -gt 1 ]]; then | |
# for i in $(screen -list | grep '.zil' | awk '{print $1}'); do | |
# screen -X -S $i kill | |
# done | |
# fi | |
while true; do | |
screens=`screen -ls zil | grep -E "[0-9]+\.zil" | cut -d. -f1 | awk '{print $1}'` |