Commit Graph

556 Commits

Author SHA1 Message Date
Michael Stanclift
20a2cb88fe Update gravity-sync.sh 2020-05-24 20:39:06 -05:00
Michael Stanclift
5eaf3070aa Update gravity-sync.sh 2020-05-24 20:37:51 -05:00
Michael Stanclift
1b88c54135 Update gravity-sync.sh 2020-05-24 20:37:24 -05:00
Michael Stanclift
4d41c3bff9 No variables 2020-05-24 20:35:12 -05:00
Michael Stanclift
8ed7bda376 Escape characters? 2020-05-24 20:29:32 -05:00
Michael Stanclift
7f38d43256 Beta branch update 2020-05-24 20:23:19 -05:00
Michael Stanclift
1faab012d7 Tick me off 2020-05-24 20:20:52 -05:00
Michael Stanclift
1b4d73ebb5 Add md5 comparison function 2020-05-24 20:19:40 -05:00
Michael Stanclift
a64e31f0cb TASKTYPES for everyone 2020-05-24 20:06:11 -05:00
Michael Stanclift
7dff206d55 Sleep not wait 2020-05-24 20:03:04 -05:00
Michael Stanclift
07ffe5d0bf Update gravity-sync.sh 2020-05-24 19:59:03 -05:00
Michael Stanclift
87afb838db Waiting before restarting services 2020-05-24 19:56:55 -05:00
Michael Stanclift
d676a0df75 Wrong variable name 2020-05-24 19:49:34 -05:00
Michael Stanclift
b06bce796b Tail instead of cat 2020-05-24 19:48:35 -05:00
Michael Stanclift
b5d2593628 Update gravity-sync.sh 2020-05-24 19:45:05 -05:00
Michael Stanclift
7fd89703e3 error_validate 2020-05-24 19:40:09 -05:00
Michael Stanclift
c26bbec364 Changing more headers 2020-05-24 19:38:43 -05:00
Michael Stanclift
9a5b9ef353 Show version function 2020-05-24 17:33:42 -05:00
Michael Stanclift
8965fadcc7 Validate cron log existance 2020-05-24 17:30:33 -05:00
Michael Stanclift
ff0c8c5fd5 Update gravity-sync.sh 2020-05-24 13:39:21 -05:00
Michael Stanclift
11752bac3f New style push validate 2020-05-23 18:50:29 -05:00
Michael Stanclift
9f34aca8c6 Update gravity-sync.sh 2020-05-23 18:37:08 -05:00
Michael Stanclift
75f2e5975b Rebuilt pull in new style 2020-05-23 18:26:12 -05:00
Michael Stanclift
dfc892e77e Else test 2020-05-23 18:10:18 -05:00
Michael Stanclift
fe38ec3cd7 Update gravity-sync.sh 2020-05-23 17:58:06 -05:00
Michael Stanclift
b3df6fcbe4 MESSAGE variable test 2020-05-23 17:54:24 -05:00
Michael Stanclift
c6b5153a87 Update gravity-sync.sh 2020-05-23 17:44:08 -05:00
Michael Stanclift
f2e235c88d Testing command validation 2020-05-23 17:39:02 -05:00
Michael Stanclift
86ee4c2596 Branch test 2020-05-23 14:17:50 -05:00
Michael Stanclift
3e92c12b39 Starting 1.3 2020-05-23 14:07:52 -05:00
Michael Stanclift
ad9caf1767 Typo 2020-05-23 13:56:12 -05:00
Michael Stanclift
5d74e036c6 More line breaks 2020-05-23 13:31:42 -05:00
Michael Stanclift
1e8f6e5fe9 Line breaks 2020-05-23 13:30:44 -05:00
Michael Stanclift
851a5e0325 Backup remote copy before push 2020-05-23 13:28:03 -05:00
Michael Stanclift
3c5f5a1bc4 Full path of config file 2020-05-22 23:00:59 -05:00
Michael Stanclift
9ab88d811c Replace ~ with $HOME 2020-05-22 22:35:46 -05:00
Michael Stanclift
f836901704 Remove rsync progress indicator 2020-05-22 21:28:27 -05:00
Michael Stanclift
97a786709c Update gravity-sync.sh 2020-05-22 21:17:48 -05:00
Michael Stanclift
c18708a57b Elevate to overwrite 2020-05-22 21:14:51 -05:00
Michael Stanclift
da09731846 Adjust copy permissions 2020-05-22 15:48:45 -05:00
Michael Stanclift
ffd740adc1 Update gravity-sync.sh 2020-05-22 15:44:15 -05:00
Michael Stanclift
8de355618b Uses backup directory for Gravity.db shuffle 2020-05-22 15:43:04 -05:00
Michael Stanclift
c39b9280da Backup folder 2020-05-22 15:31:35 -05:00
Michael Stanclift
902e0743a8 Are you really sure you want to push? 2020-05-22 14:58:33 -05:00
Michael Stanclift
24bd9eef7e Argument cleanup 2020-05-22 14:53:01 -05:00
Michael Stanclift
da3a172c1e Argument help fix 2020-05-22 14:51:41 -05:00
Michael Stanclift
96572447da Header style cleaning 2020-05-22 14:49:51 -05:00
Michael Stanclift
5087a50752 Another $ 2020-05-22 14:00:53 -05:00
Michael Stanclift
0dd22c2966 Extra $s 2020-05-22 14:00:09 -05:00
Michael Stanclift
844c011ee8 Style of headers changed 2020-05-22 13:59:09 -05:00
Michael Stanclift
4fb552d5ec Cleanup warnings 2020-05-22 13:31:42 -05:00
Michael Stanclift
312a11da4f Spaces 2020-05-22 13:21:00 -05:00
Michael Stanclift
7a9db0ec4a Tabs 2020-05-22 13:19:21 -05:00
Michael Stanclift
ff121d5d71 Expand argument requirements 2020-05-22 13:18:19 -05:00
Michael Stanclift
a8ca9b19be Check the config not the logs 2020-05-22 12:29:05 -05:00
Michael Stanclift
c789ff5a09 Create config file variable 2020-05-22 12:25:30 -05:00
Michael Stanclift
24fe419e70 Clearer instructions for setup 2020-05-22 12:18:16 -05:00
Michael Stanclift
145833d73d Purple! 2020-05-22 11:59:36 -05:00
Michael Stanclift
3122a2bb15 Move logging time for update 2020-05-22 11:56:43 -05:00
Michael Stanclift
ed20d55f29 Tail different log types 2020-05-22 11:54:12 -05:00
Michael Stanclift
f06bdd347a Added logging types and logging to push and update 2020-05-22 11:50:42 -05:00
Michael Stanclift
acef849de4 Add tasktype variable 2020-05-22 11:45:33 -05:00
Michael Stanclift
0b2d031109 Create logging function 2020-05-22 11:39:31 -05:00
Michael Stanclift
f35465ab50 Daddy like the functions 2020-05-22 11:06:59 -05:00
Michael Stanclift
fa1ddf6734 Update warning 2020-05-22 10:57:41 -05:00
Michael Stanclift
2c8e00a0d8 Require validation and import only for push/pull 2020-05-22 10:55:23 -05:00
Michael Stanclift
eacefeeaa7 Missing space 2020-05-22 10:47:39 -05:00
Michael Stanclift
d3376947d5 Import settings function 2020-05-22 10:46:24 -05:00
Michael Stanclift
9b60ea604a Function all the things 2020-05-22 10:44:38 -05:00
Michael Stanclift
223884f571 Moving more routines into functions 2020-05-22 10:32:02 -05:00
Michael Stanclift
bca3d2a7c8 Begin function breakout 2020-05-22 10:28:02 -05:00
Michael Stanclift
69b77606a5 Update verification removed
Live on the edge
2020-05-22 10:21:11 -05:00
Michael Stanclift
8c1c38f962 TABS 2020-05-21 21:42:37 -05:00
Michael Stanclift
1bb874ef04 Update gravity-sync.sh 2020-05-21 21:09:51 -05:00
Michael Stanclift
a853727489 Missing ;; 2020-05-21 21:08:31 -05:00
Michael Stanclift
7ad9b70f09 Add log tail function 2020-05-21 21:07:01 -05:00
Michael Stanclift
fdb19d316e Update test 2020-05-21 20:54:13 -05:00
Michael Stanclift
a426779dff Yes no 2020-05-21 20:52:39 -05:00
Michael Stanclift
eae913e453 Less yellow 2020-05-21 20:51:55 -05:00
Michael Stanclift
0ec2580f59 Fix update script 2020-05-21 20:48:41 -05:00
Michael Stanclift
22c27b08c9 Added update confirmation 2020-05-21 20:44:21 -05:00
Michael Stanclift
61d4104eed Add update function 2020-05-21 20:39:14 -05:00
Michael Stanclift
81e5ed5de3 Update gravity-sync.sh 2020-05-21 20:35:53 -05:00
Michael Stanclift
b4007f89dc Added version output 2020-05-21 20:30:20 -05:00
Michael Stanclift
d80cf2cb9c Validate existance of gravity-sync.conf 2020-05-21 20:25:06 -05:00
Michael Stanclift
30b33c860d v1.1.3 2020-05-21 18:05:44 -05:00
Michael Stanclift
ff924883df 1.1.2 2020-05-21 16:23:46 -05:00
Michael Stanclift
f562afaaab Move settings to config file 2020-05-21 15:46:04 -05:00
Michael Stanclift
9129849055 Lets use some purple 2020-05-21 14:36:35 -05:00
Michael Stanclift
ab6a710c41 Update gravity-sync.sh 2020-05-21 14:33:40 -05:00
Michael Stanclift
6bc818f29f Update gravity-sync.sh 2020-05-21 14:32:12 -05:00
Michael Stanclift
1e7356b45f MORE WORDS 2020-05-21 14:29:44 -05:00
Michael Stanclift
5fbef32006 Show rsync progress 2020-05-21 14:21:13 -05:00
Michael Stanclift
68b51f9309 Additional verbage 2020-05-21 14:18:49 -05:00
Michael Stanclift
c8597d51c2 Output sync direction 2020-05-21 14:15:24 -05:00
Michael Stanclift
12151a23b1 Slash missing 2020-05-21 14:10:49 -05:00
Michael Stanclift
a9c320efb6 Using yellow 2020-05-21 14:10:23 -05:00
Michael Stanclift
a4c17271a7 More colors! 2020-05-21 14:09:55 -05:00
Michael Stanclift
b15e2b6521 Clarifying error messages 2020-05-21 14:04:10 -05:00
Michael Stanclift
d4bc243aab Update gravity-sync.sh 2020-05-21 13:58:58 -05:00
Michael Stanclift
588e8fa02c -f not -d 2020-05-21 13:56:58 -05:00
Michael Stanclift
76be06d6a4 Check for pihole directory/db 2020-05-21 13:53:12 -05:00
Michael Stanclift
43c9c81b6c Update gravity-sync.sh 2020-05-21 13:48:23 -05:00
Michael Stanclift
a1764c4395 Folder check
Checks to see if folder for temp storage and logs are present
2020-05-21 13:44:01 -05:00
Michael Stanclift
aef3784ed1 Executable 2020-05-21 13:20:30 -05:00
Michael Stanclift
488118144b
Transfer of 1.1 version from Gist 2020-05-21 13:00:42 -05:00