Commit Graph

169 Commits

Author SHA1 Message Date
taniman 04d8f20b17
Update README.md 2020-05-14 10:16:01 -04:00
taniman 7768ebc8c2
Update README.md 2020-05-14 10:15:40 -04:00
taniman 87c97fdfe8
Fix file not updating anymore 2020-02-23 10:29:16 -04:00
taniman 25ad37ed59 do not start stopped bots and delay 30 seconds 2020-02-20 18:29:16 -04:00
SgtBatten 9b2062226a Cleanup update.sh after update 2019-05-06 16:38:38 -04:00
SgtBatten a4a583785c betaurl optional argument added 2019-05-06 16:38:38 -04:00
SgtBatten c748b4ce81 add ability to send beta url as argument again 2019-05-06 16:38:38 -04:00
SgtBatten bb4a7d77cd add noupdate option
noupdate allows you to run the script without updating from github.

allows someone to customise their script without it being overwritten
2019-05-06 16:38:38 -04:00
SgtBatten e1982efc8a Install dependencies First 2019-05-06 16:38:38 -04:00
SgtBatten 1bbf740af6 Add non interactive option
execute script using ./scriptname.sh auto to avoid having to confirm anything. It will use your existing setup and update to the latest release on github.

Script now updates itself at the start and executes the updated script 
any command line arguments passed to it are passed to the updated script also.
2019-05-06 16:38:38 -04:00
SgtBatten 34c9019784 Correctly display latest version 2019-04-22 18:23:53 -04:00
SgtBatten f59a418c20 Correctly display Latest Version
Latest version displayed properly when user is updating to other than latest version
2019-04-22 18:23:53 -04:00
taniman a3b62cd357 Fix for rev stdin error
rev: stdin: Invalid or incomplete multibyte or wide character
2019-04-11 19:44:32 -04:00
gingerman 2e78babcfd Updated last changed date 2019-04-03 18:38:44 -04:00
gingerman bfb55cd692 Updating DB file name for backups 2019-04-03 18:38:44 -04:00
gingerman bb052c0549 Update update.sh
script self update was prompting for overwrite confirmation. forced overwrite
2019-02-22 11:59:52 -03:00
taniman b40aa2347c
Update README.md 2019-02-19 20:18:25 -04:00
SgtBatten 7aac84905c final patches
- Fixed issue where removing and recreating pm2 processes resulted in pm2 ID changing after some time. Script now uses the process name even if the user configures it using process ID. -  (does require you to go through configuration again to avoid this issue)
- Fixed issue where running the script from within the bot folder resulted in profittrailer.jar being deleted. 
- script can be run without having to cd to the correct directory (i.e /var/opt/linux-update.sh is fine)
- Script will self update now. (note that if you are updating to a version which does not come with the updated script you will be downgrading the config and need to manually upgrade again)
- Cleaned up code. Deleted a bunch of lines simplifying duplicate sections
- fixed inability to handle filenames with spaces
- fixed inability to handle script name with spaces
- Automatically remove old updatescript backups (keep latest 5 only)
2019-02-10 15:57:45 -04:00
SgtBatten 844452a623 fix error
fix error message if less than 5 backups exist
2019-02-10 15:57:45 -04:00
SgtBatten e5038c0d0f New version
- Fixed issue where removing and recreating pm2 processes resulted in pm2 ID changing after some time. Script now uses the process name even if the user configures it using process ID. - elroys specialty. (does require you to go through configuration again to avoid this issue)
- Fixed issue where running the script from within the bot folder resulted in profittrailer.jar being deleted. 
- script can be run without having to cd to the correct directory (i.e ./var/opt/linux-update.sh is fine)
- Script will self update now. (note that until this version is live youll be overwriting with an old script.
2019-02-10 15:57:45 -04:00
gingerman 861f904be3 Update to backup v2.2 DB 2019-01-16 21:04:15 -04:00
taniman 0688bdf7e8
Dash needs to be at first or last place in the regex else it does not work correctly 2018-11-08 21:44:19 -04:00
taniman 1a27e2dfb3
Update README.md 2018-11-03 17:12:13 -04:00
taniman 9d458782fc Insert a check for curl (#2013)
* Insert a check for curl

* typo

* confirmation messages
2018-08-09 08:27:20 +10:00
SgtBatten 5369c8fc0e moved json backup from location 2018-08-01 16:33:28 +02:00
SgtBatten 3020908997 removed random test code 2018-08-01 16:33:28 +02:00
SgtBatten b9b14bf45f Update Script
get path information from pm2 instaead of having to enter manually
Make it work with pm2 names with spaces in them.
2018-08-01 16:33:28 +02:00
SgtBatten f7bf1c55ca Delete update,sh 2018-07-22 15:39:10 +02:00
SgtBatten d5e977fc4d update.sh as file
instead of raw text, uploading as a file
2018-07-22 15:39:10 +02:00
SgtBatten a5b9437e35 update.sh 2018-07-22 15:39:10 +02:00
SgtBatten 0a0c70858d Create update,sh 2018-07-22 15:39:10 +02:00
dj_crypto 9a3b45d631 Update README.md 2018-07-12 15:12:13 +02:00
SgtBatten 0ced34247e Update issue template
Make log files mandatory. Request full log not partial log.
2018-05-24 19:38:27 +02:00
SgtBatten beb96f8929 Update ISSUE_TEMPLATE.md 2018-05-18 11:26:13 +02:00
SgtBatten d04a872fb0 Issue template
Added market option
2018-05-18 11:26:13 +02:00
SgtBatten 26f7e7d8ac Issue template fixes
Typos and formatting
2018-05-13 20:38:46 +02:00
gingerman 76698addc1 Update README.md 2018-05-11 10:05:05 +02:00
gingerman d90dbc222c Update README.md 2018-05-11 10:05:05 +02:00
SgtBatten 12ed018a21 issue template (#1832)
updated instructions on tick box usage
2018-05-11 00:46:49 +02:00
SgtBatten 4a75bde83e Issue Template Draft (#1829)
* Issue Template Draft

first pull request, #sorrynotsorry

* typo
2018-05-10 12:22:07 +02:00
taniman e3a9d62f12
Update README.md 2018-03-12 17:56:05 +01:00
dj_crypto f0500948c2 Link 2018-01-17 20:26:02 +02:00
nAffie ce6d0a44d9
Update README.md 2018-01-17 19:05:13 +01:00
taniman 5aaf179ec7
Update README.md 2018-01-16 20:36:41 +01:00
taniman 8bf382f36d
Test webhook 2018-01-11 14:46:50 +01:00
taniman 45c6939cb1
Update README.md 2018-01-06 22:46:57 +01:00
taniman af038aa1b7
Add hebrew language 2018-01-06 02:12:33 +01:00
nAffie 8819d21001
Update README.md 2017-12-23 07:13:05 +01:00
nAffie 9b730cc859
Update README.md 2017-12-19 23:35:53 +01:00
nAffie 13f34c321a
Update README.md 2017-12-19 23:33:30 +01:00