Commit Graph

8 Commits

Author SHA1 Message Date
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 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 d5e977fc4d update.sh as file
instead of raw text, uploading as a file
2018-07-22 15:39:10 +02:00