forked from littlebizzy/slickstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ss-functions.txt
1323 lines (1237 loc) · 97.7 KB
/
ss-functions.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#!/bin/bash
####################################################################################################
#### author: SlickStack ############################################################################
#### link: https://slickstack.io ###################################################################
#### mirror: https://mirrors.slickstack.io/bash/ss-functions.txt ###################################
#### path: /var/www/ss-functions ###################################################################
#### destination: n/a (not a boilerplate) ##########################################################
#### purpose: Required functions and variables used by ss core cron jobs and bash scripts ##########
#### module version: Ubuntu 20.04 LTS ##############################################################
#### sourced by: ss core bash scripts, ss core cron jobs ###########################################
#### bash aliases: n/a #############################################################################
####################################################################################################
## SS-FUNCTIONS MUST BE INCLUDED IN ALL SS SCRIPTS IN ORDER FOR THEM TO WORK PROPERLY ##
## IT NOT ONLY DEFINES BASH VARIABLES AND FUNCTIONS BUT ALSO MIRROR/FILE PATHS ##
## SS-CONFIG SHOULD NOT BE INCLUDED IN THIS SCRIPT
####################################################################################################
#### TABLE OF CONTENTS (SS-Functions) ##############################################################
####################################################################################################
## A. SlickStack Variables
## B. Public Mirror Links
## C. Temporary File Paths
## D. Permanent File Paths
## E. Timestamp File Paths
## F. Lock File Paths
## G. SlickStack Functions
## H. Pretty Colors + Styles For The Shell
####################################################################################################
#### A. SS-Functions: SlickStack Variables #########################################################
####################################################################################################
## SNIPPET: ss-functions, ss-install
## these are kind of like enviroment variables that are used within various ss scripts ##
## we keep these variables together for easy reference and better organization ##
## ss variables ##
SYSTEM_VENDOR=$(sudo dmidecode -t system | sed -n 7p | sed 's#Manufacturer: ##' | sed 's/^[[:space:]]*//g')
SYSTEM_VIRTUAL=$(systemd-detect-virt)
SYSTEM_LINUX_KERNEL=$(uname -a)
SYSTEM_OS_PRETTY_NAME=$(lsb_release -ds)
SYSTEM_CPU_CORES=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || sysctl -n hw.ncpu || echo "$NUMBER_OF_PROCESSORS")
SYSTEM_DISK_TOTAL=$(df | grep '^/dev/' | awk '{s+=$2} END {print s/1048576}')
SYSTEM_DISK_FREE=$(df -kh --output=avail "$PWD" | tail -n1)
SYSTEM_NETWORK_INTERFACE=$(ip route get 1.1.1.1 | head -n1 | awk '{print $5}')
SYSTEM_IPV4_ADDRESS=$(ip addr show "$SYSTEM_NETWORK_INTERFACE" | grep "inet " | awk '{ print $2;exit }' | cut -d/ -f1)
SYSTEM_IPV6_ADDRESS=$(ip addr show "$SYSTEM_NETWORK_INTERFACE" | grep "inet6 " | awk '{ print $2;exit }' | cut -d/ -f1)
SYSTEM_HOSTNAME=$(/bin/hostname -f) ## remove -f in future
## still used by some scripts ##
UBUNTU_VERSION=`lsb_release -rs`
SS_EOF="SS_EOF"
SLEEP_MESSAGE_BEGIN="0s"
## https://linuxize.com/post/how-to-check-if-string-contains-substring-in-bash/
## https://stackoverflow.com/questions/2440947/how-to-build-a-conditional-assignment-in-bash
## myvar="default" && [[ <some_condition_is_true> ]] && myvar="non-default"
SITE_DOMAIN_EXCLUDING_WWW=$(echo "${SITE_DOMAIN/www./}")
PREFIX_WWW="www."
SITE_DOMAIN_ALREADY_CONTAINS_WWW=$(grep -q "${PREFIX_WWW}" <<< "${SITE_DOMAIN}")
## SITE_DOMAIN_INCLUDING_WWW="www.${SITE_DOMAIN}" && [[ "$SITE_DOMAIN_ALREADY_CONTAINS_WWW" == "true" ]] && SITE_DOMAIN_INCLUDING_WWW="${SITE_DOMAIN}"
if [[ "$SITE_DOMAIN_CONTAINS_WWW" == "true" ]]; then
SITE_DOMAIN_INCLUDING_WWW="${SITE_DOMAIN}"
else
SITE_DOMAIN_INCLUDING_WWW="www.${SITE_DOMAIN}"
fi
## ubuntu packages ##
PACKAGE_DOS2UNIX="dos2unix"
PACKAGE_EXIFTOOL="libimage-exiftool-perl"
## validate files (these lines must appear under others above) ##
# VALIDATE_SS_CHECK=$(grep "$SS_EOF" "$PATH_SS_CHECK")
# VALIDATE_SS_WORKER=$(grep "$SS_EOF" "$PATH_SS_WORKER")
# VALIDATE_TMP_SS_CHECK=$(grep "$SS_EOF" "$TMP_SS_CHECK")
# VALIDATE_TMP_SS_WORKER=$(grep "$SS_EOF" "$TMP_SS_WORKER")
# VALIDATE_NGINX_CONF=$(grep "$SS_EOF" "$PATH_NGINX_CONF")
# VALIDATE_PHP_INI=$(grep "$SS_EOF" "$PATH_PHP_INI")
# VALIDATE_WP_CONFIG_PHP=$(grep "$SS_EOF" "$PATH_WP_CONFIG_PHP")
## old stuff ##
# NETWORK_INTERFACE=`ip route get 1.1.1.1 | head -n1 | awk '{print $5}'`
# SS_HOSTNAME_ALL=`/bin/hostname -A`
# SS_HOSTNAME_FQDN=`/bin/hostname -f`
# SS_TLD=`hostname -d`
# SS_MYSQL_VERSION=`mysqld --version`
# SS_MYSQL_SIZE=`mysql --execute="SELECT table_schema AS "wordpress", SUM(data_length + index_length) / 1024 / 1024 / 1024 AS "Size (GB)" FROM information_schema.TABLES GROUP BY table_schema";`
# SS_PHP_VERSION=`php -v | grep ^PHP | cut -d' ' -f2`
# SS_PHP_EXTENSIONS=`php -r "print_r(implode(', ', get_loaded_extensions()));"`
####################################################################################################
#### B. SS-Functions: Public Mirror Links ##########################################################
####################################################################################################
## cron jobs (mirror 01) ##
MIRROR_00_CRONTAB="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/00-crontab.txt"
MIRROR_01_CRON_OFTEN="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/01-cron-often.txt"
MIRROR_02_CRON_REGULAR="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/02-cron-regular.txt"
MIRROR_03_CRON_QUARTER_HOURLY="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/03-cron-quarter-hourly.txt"
MIRROR_04_CRON_HALF_HOURLY="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/04-cron-half-hourly.txt"
MIRROR_05_CRON_HOURLY="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/05-cron-hourly.txt"
MIRROR_06_CRON_QUARTER_DAILY="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/06-cron-quarter-daily.txt"
MIRROR_07_CRON_HALF_DAILY="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/07-cron-half-daily.txt"
MIRROR_08_CRON_DAILY="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/08-cron-daily.txt"
MIRROR_09_CRON_HALF_WEEKLY="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/09-cron-half-weekly.txt"
MIRROR_10_CRON_WEEKLY="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/10-cron-weekly.txt"
MIRROR_11_CRON_HALF_MONTHLY="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/11-cron-half-monthly.txt"
MIRROR_12_CRON_MONTHLY="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/12-cron-monthly.txt"
MIRROR_13_CRON_SOMETIMES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/13-cron-sometimes.txt"
## cron jobs (mirror 02) ##
MIRROR2_00_CRONTAB="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/00-crontab.txt"
MIRROR2_01_CRON_OFTEN="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/01-cron-often.txt"
MIRROR2_02_CRON_REGULAR="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/02-cron-regular.txt"
MIRROR2_03_CRON_QUARTER_HOURLY="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/03-cron-quarter-hourly.txt"
MIRROR2_04_CRON_HALF_HOURLY="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/04-cron-half-hourly.txt"
MIRROR2_05_CRON_HOURLY="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/05-cron-hourly.txt"
MIRROR2_06_CRON_QUARTER_DAILY="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/06-cron-quarter-daily.txt"
MIRROR2_07_CRON_HALF_DAILY="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/07-cron-half-daily.txt"
MIRROR2_08_CRON_DAILY="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/08-cron-daily.txt"
MIRROR2_09_CRON_HALF_WEEKLY="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/09-cron-half-weekly.txt"
MIRROR2_10_CRON_WEEKLY="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/10-cron-weekly.txt"
MIRROR2_11_CRON_HALF_MONTHLY="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/11-cron-half-monthly.txt"
MIRROR2_12_CRON_MONTHLY="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/12-cron-monthly.txt"
MIRROR2_13_CRON_SOMETIMES="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/13-cron-sometimes.txt"
## custom cron jobs (mirror 01) ##
MIRROR_01_CRON_OFTEN_CUSTOM="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/custom/01-cron-often-custom.txt"
MIRROR_02_CRON_REGULAR_CUSTOM="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/custom/02-cron-regular-custom.txt"
MIRROR_03_CRON_QUARTER_HOURLY_CUSTOM="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/custom/03-cron-quarter-hourly-custom.txt"
MIRROR_04_CRON_HALF_HOURLY_CUSTOM="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/custom/04-cron-half-hourly-custom.txt"
MIRROR_05_CRON_HOURLY_CUSTOM="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/custom/05-cron-hourly-custom.txt"
MIRROR_06_CRON_QUARTER_DAILY_CUSTOM="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/custom/06-cron-quarter-daily-custom.txt"
MIRROR_07_CRON_HALF_DAILY_CUSTOM="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/custom/07-cron-half-daily-custom.txt"
MIRROR_08_CRON_DAILY_CUSTOM="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/custom/08-cron-daily-custom.txt"
MIRROR_09_CRON_HALF_WEEKLY_CUSTOM="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/custom/09-cron-half-weekly-custom.txt"
MIRROR_10_CRON_WEEKLY_CUSTOM="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/custom/10-cron-weekly-custom.txt"
MIRROR_11_CRON_HALF_MONTHLY_CUSTOM="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/custom/11-cron-half-monthly-custom.txt"
MIRROR_12_CRON_MONTHLY_CUSTOM="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/custom/12-cron-monthly-custom.txt"
MIRROR_13_CRON_SOMETIMES_CUSTOM="https://raw.githubusercontent.com/littlebizzy/slickstack/master/crons/custom/13-cron-sometimes-custom.txt"
## custom cron jobs (mirror 02) ##
MIRROR2_01_CRON_OFTEN_CUSTOM="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/custom/01-cron-often-custom.txt"
MIRROR2_02_CRON_REGULAR_CUSTOM="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/custom/02-cron-regular-custom.txt"
MIRROR2_03_CRON_QUARTER_HOURLY_CUSTOM="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/custom/03-cron-quarter-hourly-custom.txt"
MIRROR2_04_CRON_HALF_HOURLY_CUSTOM="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/custom/04-cron-half-hourly-custom.txt"
MIRROR2_05_CRON_HOURLY_CUSTOM="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/custom/05-cron-hourly-custom.txt"
MIRROR2_06_CRON_QUARTER_DAILY_CUSTOM="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/custom/06-cron-quarter-daily-custom.txt"
MIRROR2_07_CRON_HALF_DAILY_CUSTOM="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/custom/07-cron-half-daily-custom.txt"
MIRROR2_08_CRON_DAILY_CUSTOM="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/custom/08-cron-daily-custom.txt"
MIRROR2_09_CRON_HALF_WEEKLY_CUSTOM="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/custom/09-cron-half-weekly-custom.txt"
MIRROR2_10_CRON_WEEKLY_CUSTOM="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/custom/10-cron-weekly-custom.txt"
MIRROR2_11_CRON_HALF_MONTHLY_CUSTOM="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/custom/11-cron-half-monthly-custom.txt"
MIRROR2_12_CRON_MONTHLY_CUSTOM="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/custom/12-cron-monthly-custom.txt"
MIRROR2_13_CRON_SOMETIMES_CUSTOM="https://gitlab.com/littlebizzy/slickstack/-/raw/master/crons/custom/13-cron-sometimes-custom.txt"
## bash scripts (mirror 01) ##
MIRROR_SS_CHECK="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-check.txt"
MIRROR_SS_CLEAN_DATABASE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-clean-database.txt"
MIRROR_SS_CLEAN_FILES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-clean-files.txt"
MIRROR_SS_CONFIG_SAMPLE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-config-sample.txt"
MIRROR_SS_DELETE_DATABASE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-delete-database.txt"
MIRROR_SS_DELETE_FILES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-delete-files.txt"
MIRROR_SS_DUMP_DATABASE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-dump-database.txt"
MIRROR_SS_DUMP_FILES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-dump-files.txt"
MIRROR_SS_EMPTY_LOGS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-empty-logs.txt"
MIRROR_SS_ENCRYPT_ACME="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-encrypt-acme.txt"
MIRROR_SS_ENCRYPT_CERTBOT="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-encrypt-certbot.txt"
MIRROR_SS_ENCRYPT_OPENSSL="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-encrypt-openssl.txt"
MIRROR_SS_FUNCTIONS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-functions.txt"
MIRROR_SS_IMPORT_DATABASE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-import-database.txt"
MIRROR_SS_IMPORT_FILES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-import-files.txt"
MIRROR_SS_INSTALL="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install.txt"
MIRROR_SS_INSTALL_ADMINER="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-adminer.txt"
MIRROR_SS_INSTALL_CLAMAV="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-clamav.txt"
MIRROR_SS_INSTALL_CRAFT_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-craft-config.txt"
MIRROR_SS_INSTALL_CRAFT_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-craft-core.txt"
MIRROR_SS_INSTALL_MAGENTO_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-magento-config.txt"
MIRROR_SS_INSTALL_MAGENTO_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-magento-core.txt"
MIRROR_SS_INSTALL_MEDIAWIKI_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-mediawiki-config.txt"
MIRROR_SS_INSTALL_MEDIAWIKI_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-mediawiki-core.txt"
MIRROR_SS_INSTALL_MOODLE_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-moodle-config.txt"
MIRROR_SS_INSTALL_MOODLE_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-moodle-core.txt"
MIRROR_SS_INSTALL_MYSQL="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-mysql.txt"
MIRROR_SS_INSTALL_MYSQL_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-mysql-config.txt"
MIRROR_SS_INSTALL_MYSQL_DATABASE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-mysql-database.txt"
MIRROR_SS_INSTALL_MYSQL_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-mysql-packages.txt"
MIRROR_SS_INSTALL_NGINX_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-nginx-config.txt"
MIRROR_SS_INSTALL_NGINX_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-nginx-packages.txt"
MIRROR_SS_INSTALL_NGINX_LETSENCRYPT="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-nginx-letsencrypt.txt"
MIRROR_SS_INSTALL_NGINX_OPENSSL="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-nginx-openssl.txt"
MIRROR_SS_INSTALL_NGINX_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-nginx-packages.txt"
MIRROR_SS_INSTALL_NGINX_SSL="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-nginx-ssl.txt"
MIRROR_SS_INSTALL_OPENCART_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-opencart-config.txt"
MIRROR_SS_INSTALL_OPENCART_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-opencart-core.txt"
MIRROR_SS_INSTALL_PHP_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-php-config.txt"
MIRROR_SS_INSTALL_PHP_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-php-packages.txt"
MIRROR_SS_INSTALL_PHP_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-php-packages.txt"
MIRROR_SS_INSTALL_PRESTASHOP_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-prestashop-config.txt"
MIRROR_SS_INSTALL_PRESTASHOP_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-prestashop-core.txt"
MIRROR_SS_INSTALL_RCLONE_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-rclone-config.txt"
MIRROR_SS_INSTALL_RCLONE_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-rclone-packages.txt"
MIRROR_SS_INSTALL_REDIS_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-redis-config.txt"
MIRROR_SS_INSTALL_REDIS_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-redis-packages.txt"
MIRROR_SS_INSTALL_UBUNTU_BASH="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-ubuntu-bash.txt"
MIRROR_SS_INSTALL_UBUNTU_CRONTAB="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-ubuntu-crontab.txt"
MIRROR_SS_INSTALL_UBUNTU_KERNEL="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-ubuntu-kernel.txt"
MIRROR_SS_INSTALL_UBUNTU_SSH="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-ubuntu-ssh.txt"
MIRROR_SS_INSTALL_UBUNTU_SWAPFILE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-ubuntu-swapfile.txt"
MIRROR_SS_INSTALL_UBUNTU_USERS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-ubuntu-users.txt"
MIRROR_SS_INSTALL_UBUNTU_UTILS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-ubuntu-utils.txt"
MIRROR_SS_INSTALL_UFW_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-ufw-config.txt"
MIRROR_SS_INSTALL_UFW_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-ufw-packages.txt"
MIRROR_SS_INSTALL_WORDPRESS_CLI="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-wordpress-cli.txt"
MIRROR_SS_INSTALL_WORDPRESS_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-wordpress-config.txt"
MIRROR_SS_INSTALL_WORDPRESS_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-wordpress-core.txt"
MIRROR_SS_INSTALL_WORDPRESS_MU_PLUGINS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-wordpress-mu-plugins.txt"
MIRROR_SS_MAINTENANCE_DISABLE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-maintenance-disable.txt"
MIRROR_SS_MAINTENANCE_ENABLE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-maintenance-enable.txt"
MIRROR_SS_MONITOR_RESOURCES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-monitor-resources.txt"
MIRROR_SS_OPTIMIZE_DATABASE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-optimize-database.txt"
MIRROR_SS_OPTIMIZE_FILES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-optimize-files.txt"
MIRROR_SS_OVERVIEW="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-stack-overview.txt"
MIRROR_SS_PERMS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms.txt"
MIRROR_SS_PERMS_ADMINER="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-adminer.txt"
MIRROR_SS_PERMS_CLAMAV="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-clamav.txt"
MIRROR_SS_PERMS_CRAFT_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-craft-config.txt"
MIRROR_SS_PERMS_CRAFT_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-craft-core.txt"
MIRROR_SS_PERMS_MAGENTO_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-magento-config.txt"
MIRROR_SS_PERMS_MAGENTO_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-magento-core.txt"
MIRROR_SS_PERMS_MEDIAWIKI_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-mediawiki-config.txt"
MIRROR_SS_PERMS_MEDIAWIKI_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-mediawiki-core.txt"
MIRROR_SS_PERMS_MOODLE_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-moodle-config.txt"
MIRROR_SS_PERMS_MOODLE_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-moodle-core.txt"
MIRROR_SS_PERMS_MYSQL_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-mysql-config.txt"
MIRROR_SS_PERMS_MYSQL_DATABASE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-mysql-database.txt"
MIRROR_SS_PERMS_MYSQL_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-mysql-packages.txt"
MIRROR_SS_PERMS_NGINX_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-nginx-config.txt"
MIRROR_SS_PERMS_NGINX_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-nginx-packages.txt"
MIRROR_SS_PERMS_NGINX_SSL="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-nginx-ssl.txt"
MIRROR_SS_PERMS_OPENCART_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-opencart-config.txt"
MIRROR_SS_PERMS_OPENCART_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-opencart-core.txt"
MIRROR_SS_PERMS_PHP_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-php-config.txt"
MIRROR_SS_PERMS_PHP_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-php-packages.txt"
MIRROR_SS_PERMS_PRESTASHOP_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-prestashop-config.txt"
MIRROR_SS_PERMS_PRESTASHOP_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-prestashop-core.txt"
MIRROR_SS_PERMS_RCLONE_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-rclone-config.txt"
MIRROR_SS_PERMS_RCLONE_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-rclone-packages.txt"
MIRROR_SS_PERMS_REDIS_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-redis-config.txt"
MIRROR_SS_PERMS_REDIS_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-redis-packages.txt"
MIRROR_SS_PERMS_UBUNTU_BASH="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-ubuntu-bash.txt"
MIRROR_SS_PERMS_UBUNTU_CRONTAB="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-ubuntu-crontab.txt"
MIRROR_SS_PERMS_UBUNTU_KERNEL="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-ubuntu-kernel.txt"
MIRROR_SS_PERMS_UBUNTU_SSH="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-ubuntu-ssh.txt"
MIRROR_SS_PERMS_UBUNTU_SWAPFILE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-ubuntu-swapfile.txt"
MIRROR_SS_PERMS_UBUNTU_USERS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-ubuntu-users.txt"
MIRROR_SS_PERMS_UBUNTU_UTILS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-ubuntu-utils.txt"
MIRROR_SS_PERMS_UFW_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-ufw-config.txt"
MIRROR_SS_PERMS_UFW_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-ufw-packages.txt"
MIRROR_SS_PERMS_WORDPRESS_CLI="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-wordpress-cli.txt"
MIRROR_SS_PERMS_WORDPRESS_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-wordpress-config.txt"
MIRROR_SS_PERMS_WORDPRESS_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-wordpress-core.txt"
MIRROR_SS_PERMS_WORDPRESS_MU_PLUGINS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-wordpress-mu-plugins.txt"
MIRROR_SS_PURGE_NGINX="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-purge-nginx.txt"
MIRROR_SS_PURGE_OPCACHE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-purge-opcache.txt"
MIRROR_SS_PURGE_REDIS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-purge-redis.txt"
MIRROR_SS_PURGE_TRANSIENTS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-purge-transients.txt"
MIRROR_SS_REBOOT_MACHINE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-reboot-machine.txt"
MIRROR_SS_REMOTE_BACKUP="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-remote-backup.txt"
MIRROR_SS_RESET_PASSWORD_SFTP="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-reset-password-sftp.txt"
MIRROR_SS_RESTART_MYSQL="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-restart-mysql.txt"
MIRROR_SS_RESTART_NGINX="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-restart-nginx.txt"
MIRROR_SS_RESTART_PHP="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-restart-php.txt"
MIRROR_SS_RESTART_REDIS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-restart-redis.txt"
MIRROR_SS_RESTART_UFW="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-restart-ufw.txt"
MIRROR_SS_SCAN_MALWARE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-scan-malware.txt"
MIRROR_SS_STACK_OVERVIEW="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-stack-overview.txt"
MIRROR_SS_SYNC_STAGING="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-sync-staging.txt"
MIRROR_SS_UPDATE_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-update-config.txt"
MIRROR_SS_UPDATE_MODULES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-update-modules.txt"
MIRROR_SS_WORKER="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-worker.txt"
## bash scripts (mirror 02) ##
MIRROR2_SS_CHECK="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-check.txt"
MIRROR2_SS_CLEAN_DATABASE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-clean-database.txt"
MIRROR2_SS_CLEAN_FILES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-clean-files.txt"
MIRROR2_SS_CONFIG_SAMPLE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-config-sample.txt"
MIRROR2_SS_DELETE_DATABASE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-delete-database.txt"
MIRROR2_SS_DELETE_FILES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-delete-files.txt"
MIRROR2_SS_DUMP_DATABASE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-dump-database.txt"
MIRROR2_SS_DUMP_FILES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-dump-files.txt"
MIRROR2_SS_EMPTY_LOGS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-empty-logs.txt"
MIRROR2_SS_ENCRYPT_ACME="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-encrypt-acme.txt"
MIRROR2_SS_ENCRYPT_CERTBOT="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-encrypt-certbot.txt"
MIRROR2_SS_ENCRYPT_OPENSSL="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-encrypt-openssl.txt"
MIRROR2_SS_FUNCTIONS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-functions.txt"
MIRROR2_SS_IMPORT_DATABASE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-import-database.txt"
MIRROR2_SS_IMPORT_FILES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-import-files.txt"
MIRROR2_SS_INSTALL="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install.txt"
MIRROR2_SS_INSTALL_ADMINER="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-adminer.txt"
MIRROR2_SS_INSTALL_CLAMAV="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-clamav.txt"
MIRROR2_SS_INSTALL_CRAFT_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-craft-config.txt"
MIRROR2_SS_INSTALL_CRAFT_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-craft-core.txt"
MIRROR2_SS_INSTALL_MAGENTO_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-magento-config.txt"
MIRROR2_SS_INSTALL_MAGENTO_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-magento-core.txt"
MIRROR2_SS_INSTALL_MEDIAWIKI_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-mediawiki-config.txt"
MIRROR2_SS_INSTALL_MEDIAWIKI_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-mediawiki-core.txt"
MIRROR2_SS_INSTALL_MOODLE_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-moodle-config.txt"
MIRROR2_SS_INSTALL_MOODLE_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-moodle-core.txt"
MIRROR2_SS_INSTALL_MYSQL="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-mysql.txt"
MIRROR2_SS_INSTALL_MYSQL_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-mysql-config.txt"
MIRROR2_SS_INSTALL_MYSQL_DATABASE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-mysql-database.txt"
MIRROR2_SS_INSTALL_MYSQL_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-mysql-packages.txt"
MIRROR2_SS_INSTALL_NGINX_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-nginx-config.txt"
MIRROR2_SS_INSTALL_NGINX_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-nginx-packages.txt"
MIRROR2_SS_INSTALL_NGINX_LETSENCRYPT="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-nginx-letsencrypt.txt"
MIRROR2_SS_INSTALL_NGINX_OPENSSL="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-nginx-openssl.txt"
MIRROR2_SS_INSTALL_NGINX_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-nginx-packages.txt"
MIRROR2_SS_INSTALL_NGINX_SSL="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-nginx-ssl.txt"
MIRROR2_SS_INSTALL_OPENCART_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-opencart-config.txt"
MIRROR2_SS_INSTALL_OPENCART_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-opencart-core.txt"
MIRROR2_SS_INSTALL_PHP_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-php-config.txt"
MIRROR2_SS_INSTALL_PHP_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-php-packages.txt"
MIRROR2_SS_INSTALL_PHP_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-php-packages.txt"
MIRROR2_SS_INSTALL_PRESTASHOP_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-prestashop-config.txt"
MIRROR2_SS_INSTALL_PRESTASHOP_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-prestashop-core.txt"
MIRROR2_SS_INSTALL_RCLONE_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-rclone-config.txt"
MIRROR2_SS_INSTALL_RCLONE_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-rclone-packages.txt"
MIRROR2_SS_INSTALL_REDIS_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-redis-config.txt"
MIRROR2_SS_INSTALL_REDIS_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-redis-packages.txt"
MIRROR2_SS_INSTALL_UBUNTU_BASH="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-ubuntu-bash.txt"
MIRROR2_SS_INSTALL_UBUNTU_CRONTAB="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-ubuntu-crontab.txt"
MIRROR2_SS_INSTALL_UBUNTU_KERNEL="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-ubuntu-kernel.txt"
MIRROR2_SS_INSTALL_UBUNTU_SSH="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-ubuntu-ssh.txt"
MIRROR2_SS_INSTALL_UBUNTU_SWAPFILE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-ubuntu-swapfile.txt"
MIRROR2_SS_INSTALL_UBUNTU_USERS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-ubuntu-users.txt"
MIRROR2_SS_INSTALL_UBUNTU_UTILS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-ubuntu-utils.txt"
MIRROR2_SS_INSTALL_UFW_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-ufw-config.txt"
MIRROR2_SS_INSTALL_UFW_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-ufw-packages.txt"
MIRROR2_SS_INSTALL_WORDPRESS_CLI="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-wordpress-cli.txt"
MIRROR2_SS_INSTALL_WORDPRESS_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-wordpress-config.txt"
MIRROR2_SS_INSTALL_WORDPRESS_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-wordpress-core.txt"
MIRROR2_SS_INSTALL_WORDPRESS_MU_PLUGINS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-install-wordpress-mu-plugins.txt"
MIRROR2_SS_MAINTENANCE_DISABLE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-maintenance-disable.txt"
MIRROR2_SS_MAINTENANCE_ENABLE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-maintenance-enable.txt"
MIRROR2_SS_MONITOR_RESOURCES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-monitor-resources.txt"
MIRROR2_SS_OPTIMIZE_DATABASE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-optimize-database.txt"
MIRROR2_SS_OPTIMIZE_FILES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-optimize-files.txt"
MIRROR2_SS_OVERVIEW="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-stack-overview.txt"
MIRROR2_SS_PERMS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms.txt"
MIRROR2_SS_PERMS_ADMINER="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-adminer.txt"
MIRROR2_SS_PERMS_CLAMAV="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-clamav.txt"
MIRROR2_SS_PERMS_CRAFT_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-craft-config.txt"
MIRROR2_SS_PERMS_CRAFT_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-craft-core.txt"
MIRROR2_SS_PERMS_MAGENTO_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-magento-config.txt"
MIRROR2_SS_PERMS_MAGENTO_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-magento-core.txt"
MIRROR2_SS_PERMS_MEDIAWIKI_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-mediawiki-config.txt"
MIRROR2_SS_PERMS_MEDIAWIKI_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-mediawiki-core.txt"
MIRROR2_SS_PERMS_MOODLE_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-moodle-config.txt"
MIRROR2_SS_PERMS_MOODLE_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-moodle-core.txt"
MIRROR2_SS_PERMS_MYSQL_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-mysql-config.txt"
MIRROR2_SS_PERMS_MYSQL_DATABASE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-mysql-database.txt"
MIRROR2_SS_PERMS_MYSQL_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-mysql-packages.txt"
MIRROR2_SS_PERMS_NGINX_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-nginx-config.txt"
MIRROR2_SS_PERMS_NGINX_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-nginx-packages.txt"
MIRROR2_SS_PERMS_NGINX_SSL="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-nginx-ssl.txt"
MIRROR2_SS_PERMS_OPENCART_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-opencart-config.txt"
MIRROR2_SS_PERMS_OPENCART_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-opencart-core.txt"
MIRROR2_SS_PERMS_PHP_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-php-config.txt"
MIRROR2_SS_PERMS_PHP_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-php-packages.txt"
MIRROR2_SS_PERMS_PRESTASHOP_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-prestashop-config.txt"
MIRROR2_SS_PERMS_PRESTASHOP_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-prestashop-core.txt"
MIRROR2_SS_PERMS_RCLONE_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-rclone-config.txt"
MIRROR2_SS_PERMS_RCLONE_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-rclone-packages.txt"
MIRROR2_SS_PERMS_REDIS_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-redis-config.txt"
MIRROR2_SS_PERMS_REDIS_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-redis-packages.txt"
MIRROR2_SS_PERMS_UBUNTU_BASH="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-ubuntu-bash.txt"
MIRROR2_SS_PERMS_UBUNTU_CRONTAB="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-ubuntu-crontab.txt"
MIRROR2_SS_PERMS_UBUNTU_KERNEL="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-ubuntu-kernel.txt"
MIRROR2_SS_PERMS_UBUNTU_SSH="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-ubuntu-ssh.txt"
MIRROR2_SS_PERMS_UBUNTU_SWAPFILE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-ubuntu-swapfile.txt"
MIRROR2_SS_PERMS_UBUNTU_USERS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-ubuntu-users.txt"
MIRROR2_SS_PERMS_UBUNTU_UTILS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-ubuntu-utils.txt"
MIRROR2_SS_PERMS_UFW_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-ufw-config.txt"
MIRROR2_SS_PERMS_UFW_PACKAGES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-ufw-packages.txt"
MIRROR2_SS_PERMS_WORDPRESS_CLI="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-wordpress-cli.txt"
MIRROR2_SS_PERMS_WORDPRESS_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-wordpress-config.txt"
MIRROR2_SS_PERMS_WORDPRESS_CORE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-wordpress-core.txt"
MIRROR2_SS_PERMS_WORDPRESS_MU_PLUGINS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-perms-wordpress-mu-plugins.txt"
MIRROR2_SS_PURGE_NGINX="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-purge-nginx.txt"
MIRROR2_SS_PURGE_OPCACHE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-purge-opcache.txt"
MIRROR2_SS_PURGE_REDIS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-purge-redis.txt"
MIRROR2_SS_PURGE_TRANSIENTS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-purge-transients.txt"
MIRROR2_SS_REBOOT_MACHINE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-reboot-machine.txt"
MIRROR2_SS_REMOTE_BACKUP="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-remote-backup.txt"
MIRROR2_SS_RESET_PASSWORD_SFTP="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-reset-password-sftp.txt"
MIRROR2_SS_RESTART_MYSQL="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-restart-mysql.txt"
MIRROR2_SS_RESTART_NGINX="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-restart-nginx.txt"
MIRROR2_SS_RESTART_PHP="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-restart-php.txt"
MIRROR2_SS_RESTART_REDIS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-restart-redis.txt"
MIRROR2_SS_RESTART_UFW="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-restart-ufw.txt"
MIRROR2_SS_SCAN_MALWARE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-scan-malware.txt"
MIRROR2_SS_STACK_OVERVIEW="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-stack-overview.txt"
MIRROR2_SS_SYNC_STAGING="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-sync-staging.txt"
MIRROR2_SS_UPDATE_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-update-config.txt"
MIRROR2_SS_UPDATE_MODULES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-update-modules.txt"
MIRROR2_SS_WORKER="https://raw.githubusercontent.com/littlebizzy/slickstack/master/bash/ss-worker.txt"
## module config files (mirror 01) ##
MIRROR_ADMINER_PHP="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/adminer/adminer.txt"
MIRROR_BASH_ALIASES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/ubuntu/bash-aliases.txt"
MIRROR_BASHRC="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/ubuntu/bashrc.txt"
MIRROR_BLACKLIST_TXT="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/wordpress/blacklist.txt"
MIRROR_CUSTOM_SHELL_PROMPT="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/ubuntu/custom-shell-prompt.txt"
MIRROR_LETSENCRYPT_CONF="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/nginx/letsencrypt-conf.txt"
MIRROR_LINUX_KERNEL="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/ubuntu/sysctl.txt"
MIRROR_MAINTENANCE_HTML="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/nginx/maintenance.txt"
MIRROR_MY_CNF="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/mysql/8.0/my-cnf.txt"
MIRROR_MY_CNF_57="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/mysql/5.7/my-cnf.txt"
MIRROR_MY_CNF_80="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/mysql/8.0/my-cnf.txt"
MIRROR_NGINX_BLOCK_DEVELOPMENT="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/nginx/sites/development.txt"
MIRROR_NGINX_BLOCK_PRODUCTION="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/nginx/sites/production.txt"
MIRROR_NGINX_BLOCK_PRODUCTION_MULTISITE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/nginx/sites/production-multisite-subdomains.txt"
MIRROR_NGINX_BLOCK_STAGING="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/nginx/sites/staging.txt"
MIRROR_NGINX_CONF="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/nginx/nginx-conf.txt"
MIRROR_OPENSSL_CONF="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/nginx/openssl-conf.txt"
MIRROR_PHP_FPM_CONF="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/php-fpm/7.4/php-fpm-conf.txt"
MIRROR_PHP_FPM_CONF_72="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/php-fpm/7.2/php-fpm-conf.txt"
MIRROR_PHP_FPM_CONF_74="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/php-fpm/7.4/php-fpm-conf.txt"
MIRROR_PHP_INI="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/php-fpm/7.4/php-ini.txt"
MIRROR_PHP_INI_72="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/php-fpm/7.2/php-ini.txt"
MIRROR_PHP_INI_74="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/php-fpm/7.4/php-ini.txt"
MIRROR_PRESTASHOP_ZIP=$(curl -s https://api.github.com/repos/PrestaShop/PrestaShop/releases/latest | grep browser_download_url | cut -d '"' -f 4)
MIRROR_RCLONE_CONF="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/rclone/rclone-conf.txt"
MIRROR_SS_CONSTANTS_PHP="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/php-fpm/ss-constants.txt"
MIRROR_SSHD_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/ubuntu/sshd-config.txt"
MIRROR_SUDOERS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/ubuntu/sudoers.txt"
MIRROR_THIRDPARTY_CONF="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/nginx/thirdparty-conf.txt"
MIRROR_UFW_UFW="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/ufw-firewall/ufw.txt"
MIRROR_UFW_CONF="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/ufw-firewall/ufw-conf.txt"
MIRROR_USER_RULES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/ufw-firewall/user-rules.txt"
MIRROR_USER6_RULES="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/ufw-firewall/user6-rules.txt"
MIRROR_WORDPRESS_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/wordpress.zip"
MIRROR_WP_CLI_PHAR="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/wp-cli/wp-cli.phar"
MIRROR_WP_CLI_YML="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/wordpress/wp-cli/wp-cli-yml.txt"
MIRROR_WP_COMPLETION="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/wordpress/wp-cli/wp-completion-bash.txt"
MIRROR_WP_CONFIG="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/wordpress/wp-config.txt"
MIRROR_WP_CONFIG_PRODUCTION_SINGLE_SITE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/wordpress/wp-config.txt"
MIRROR_WP_CONFIG_PRODUCTION_MULTISITE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/wordpress/wp-config-production-multisite.txt"
MIRROR_WP_CONFIG_PRODUCTION_MULTISITE_SUBDOMAINS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/wordpress/wp-config-production-multisite.txt"
MIRROR_WP_CONFIG_PHP="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/wordpress/wp-config.txt"
MIRROR_WP_CONFIG_PHP_PRODUCTION_SINGLE_SITE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/wordpress/wp-config.txt"
MIRROR_WP_CONFIG_PHP_PRODUCTION_MULTISITE="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/wordpress/wp-config-production-multisite.txt"
MIRROR_WP_CONFIG_PHP_PRODUCTION_MULTISITE_SUBDOMAINS="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/wordpress/wp-config-production-multisite.txt"
MIRROR_WP_CONFIG_STAGING="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/wordpress/wp-config-staging.txt"
MIRROR_WP_CONFIG_DEV="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/wordpress/wp-config-dev.txt"
MIRROR_WP_CONFIG_PHP_STAGING="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/wordpress/wp-config-staging.txt"
MIRROR_WP_CONFIG_PHP_DEV="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/wordpress/wp-config-dev.txt"
MIRROR_WWW_CONF="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/php-fpm/7.4/www-conf.txt"
MIRROR_WWW_CONF_72="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/php-fpm/7.2/www-conf.txt"
MIRROR_WWW_CONF_74="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/php-fpm/7.4/www-conf.txt"
## module config files (mirror 02) ##
MIRROR2_ADMINER_PHP="https://gitlab.com/littlebizzy/slickstack/-/raw/master/modules/adminer/adminer.txt"
MIRROR2_SS_CONSTANTS_PHP="https://gitlab.com/littlebizzy/slickstack/-/raw/master/modules/php-fpm/ss-constants.txt"
## module config files (third party) ##
MIRROR_THIRDPARTY_WORDPRESS_ZIP="https://wordpress.org/latest.zip"
## wordpress mu plugins - production (mirror 01) ##
MIRROR_OBJECT_CACHE_PHP="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/wordpress/mu-plugins/object-cache.txt"
MIRROR_FUNCTIONS_PHP="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/wordpress/mu-plugins/functions.txt"
MIRROR_AUTOLOADER_PHP="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/wordpress/mu-plugins/autoloader.txt"
MIRROR_XXX_COMMON_PHP="https://raw.githubusercontent.com/littlebizzy/slickstack/master/modules/wordpress/mu-plugins/xxx-common.txt"
MIRROR_CLEAR_CACHES_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/clear-caches.zip"
MIRROR_CLOUDFLARE_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/cloudflare.zip"
MIRROR_DASHBOARD_CLEANUP_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/dashboard-cleanup.zip"
MIRROR_DELETE_EXPIRED_TRANSIENTS_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/delete-expired-transients.zip"
MIRROR_DISABLE_ATTACHMENT_PAGES_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/disable-attachment-pages.zip"
MIRROR_DISABLE_EMBEDS_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/disable-embeds.zip"
MIRROR_DISABLE_EMOJIS_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/disable-emojis.zip"
MIRROR_DISABLE_EMPTY_TRASH_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/disable-empty-trash.zip"
MIRROR_DISABLE_GUTENBERG_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/disable-gutenberg.zip"
MIRROR_DISABLE_IMAGE_COMPRESSION_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/disable-image-compression.zip"
MIRROR_DISABLE_POST_VIA_EMAIL_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/disable-post-via-email.zip"
MIRROR_DISABLE_XML_RPC_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/disable-xml-rpc.zip"
MIRROR_FORCE_HTTPS_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/force-https.zip"
MIRROR_FORCE_STRONG_HASHING_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/force-strong-hashing.zip"
MIRROR_HEADER_CLEANUP_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/header-cleanup.zip"
MIRROR_LIMIT_HEARTBEAT_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/limit-heartbeat.zip"
MIRROR_MINIFY_HTML_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/minify-html.zip"
MIRROR_PLUGIN_BLACKLIST_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/plugin-blacklist.zip"
MIRROR_VIRTUAL_ROBOTSTXT_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/virtual-robotstxt.zip"
## wordpress mu plugins - staging (mirror 02) ##
MIRROR_DISABLE_EMAILS_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/disable-emails.zip"
MIRROR_DISABLE_DEFAULT_RUNNER_ZIP="https://github.com/littlebizzy/slickstack/raw/master/modules/wordpress/mu-plugins/disable-default-runner.zip"
####################################################################################################
#### C. SS-Functions: Temporary File Paths #########################################################
####################################################################################################
## cron jobs ##
TMP_00_CRONTAB="/tmp/00-crontab"
TMP_01_CRON_OFTEN="/tmp/01-cron-often"
TMP_02_CRON_REGULAR="/tmp/02-cron-regular"
TMP_03_CRON_QUARTER_HOURLY="/tmp/03-cron-quarter-hourly"
TMP_04_CRON_HALF_HOURLY="/tmp/04-cron-half-hourly"
TMP_05_CRON_HOURLY="/tmp/05-cron-hourly"
TMP_06_CRON_QUARTER_DAILY="/tmp/06-cron-quarter-daily"
TMP_07_CRON_HALF_DAILY="/tmp/07-cron-half-daily"
TMP_08_CRON_DAILY="/tmp/08-cron-daily"
TMP_09_CRON_HALF_WEEKLY="/tmp/09-cron-half-weekly"
TMP_10_CRON_WEEKLY="/tmp/10-cron-weekly"
TMP_11_CRON_HALF_MONTHLY="/tmp/11-cron-half-monthly"
TMP_12_CRON_MONTHLY="/tmp/12-cron-monthly"
TMP_13_CRON_SOMETIMES="/tmp/13-cron-sometimes"
## bash scripts ##
TMP_SS_CHECK="/tmp/ss-check"
TMP_SS_CLEAN_DATABASE="/tmp/ss-clean-database"
TMP_SS_CLEAN_FILES="/tmp/ss-clean-files"
TMP_SS_CONFIG="/tmp/ss-config"
TMP_SS_CONFIG_SAMPLE="/tmp/ss-config-sample"
TMP_SS_DELETE_DATABASE="/tmp/ss-delete-database"
TMP_SS_DELETE_FILES="/tmp/ss-delete-files"
TMP_SS_DOS2UNIX="/tmp/ss-optimize-files"
TMP_SS_DOS2UNIX_FILES="/tmp/ss-optimize-files"
TMP_SS_DUMP_DATABASE="/tmp/ss-dump-database"
TMP_SS_DUMP_FILES="/tmp/ss-dump-files"
TMP_SS_EMPTY_LOGS="/tmp/ss-empty-logs"
TMP_SS_ENCRYPT_ACME="/tmp/ss-encrypt-acme"
TMP_SS_ENCRYPT_CERTBOT="/tmp/ss-encrypt-certbot"
TMP_SS_ENCRYPT_OPENSSL="/tmp/ss-encrypt-openssl"
TMP_SS_FUNCTIONS="/tmp/ss-functions"
TMP_SS_IMPORT_DATABASE="/tmp/ss-import-database"
TMP_SS_IMPORT_FILES="/tmp/ss-import-files"
TMP_SS_INSTALL="/tmp/ss-install"
TMP_SS_INSTALL_ADMINER="/tmp/ss-install-adminer"
TMP_SS_INSTALL_CLAMAV="/tmp/ss-install-clamav"
TMP_SS_INSTALL_CRAFT_CONFIG="/tmp/ss-install-craft-config"
TMP_SS_INSTALL_CRAFT_CORE="/tmp/ss-install-craft-core"
TMP_SS_INSTALL_MAGENTO_CONFIG="/tmp/ss-install-magento-config"
TMP_SS_INSTALL_MAGENTO_CORE="/tmp/ss-install-magento-core"
TMP_SS_INSTALL_MEDIAWIKI_CONFIG="/tmp/ss-install-mediawiki-config"
TMP_SS_INSTALL_MEDIAWIKI_CORE="/tmp/ss-install-mediawiki-core"
TMP_SS_INSTALL_MOODLE_CONFIG="/tmp/ss-install-moodle-config"
TMP_SS_INSTALL_MOODLE_CORE="/tmp/ss-install-moodle-core"
TMP_SS_INSTALL_MYSQL_CONFIG="/tmp/ss-install-mysql-config"
TMP_SS_INSTALL_MYSQL_CORE="/tmp/ss-install-mysql-packages"
TMP_SS_INSTALL_MYSQL_DATABASE="/tmp/ss-install-mysql-database"
TMP_SS_INSTALL_MYSQL_PACKAGES="/tmp/ss-install-mysql-packages"
TMP_SS_INSTALL_NGINX_CONFIG="/tmp/ss-install-nginx-config"
TMP_SS_INSTALL_NGINX_CORE="/tmp/ss-install-nginx-packages"
TMP_SS_INSTALL_NGINX_PACKAGES="/tmp/ss-install-nginx-packages"
TMP_SS_INSTALL_NGINX_OPENSSL="/tmp/ss-install-nginx-openssl"
TMP_SS_INSTALL_NGINX_LETSENCRYPT="/tmp/ss-install-nginx-letsencrypt"
TMP_SS_INSTALL_NGINX_SSL="/tmp/ss-install-nginx-ssl"
TMP_SS_INSTALL_OPENCART_CONFIG="/tmp/ss-install-opencart-config"
TMP_SS_INSTALL_OPENCART_CORE="/tmp/ss-install-opencart-core"
TMP_SS_INSTALL_PHP_CONFIG="/tmp/ss-install-php-config"
TMP_SS_INSTALL_PHP_CORE="/tmp/ss-install-php-packages"
TMP_SS_INSTALL_PHP_PACKAGES="/tmp/ss-install-php-packages"
TMP_SS_INSTALL_PRESTASHOP_CONFIG="/tmp/ss-install-prestashop-config"
TMP_SS_INSTALL_PRESTASHOP_CORE="/tmp/ss-install-prestashop-core"
TMP_SS_INSTALL_RCLONE_CONFIG="/tmp/ss-install-rclone-config"
TMP_SS_INSTALL_RCLONE_PACKAGES="/tmp/ss-install-rclone-packages"
TMP_SS_INSTALL_REDIS_CONFIG="/tmp/ss-install-redis-config"
TMP_SS_INSTALL_REDIS_PACKAGES="/tmp/ss-install-redis-packages"
TMP_SS_INSTALL_UBUNTU_BASH="/tmp/ss-install-ubuntu-bash"
TMP_SS_INSTALL_UBUNTU_CRONTAB="/tmp/ss-install-ubuntu-crontab"
TMP_SS_INSTALL_UBUNTU_KERNEL="/tmp/ss-install-ubuntu-kernel"
TMP_SS_INSTALL_UBUNTU_SSH="/tmp/ss-install-ubuntu-ssh"
TMP_SS_INSTALL_UBUNTU_SWAP="/tmp/ss-install-ubuntu-swapfile"
TMP_SS_INSTALL_UBUNTU_SWAPFILE="/tmp/ss-install-ubuntu-swapfile"
TMP_SS_INSTALL_UBUNTU_USERS="/tmp/ss-install-ubuntu-users"
TMP_SS_INSTALL_UBUNTU_UTILS="/tmp/ss-install-ubuntu-utils"
TMP_SS_INSTALL_UFW_CONFIG="/tmp/ss-install-ufw-config"
TMP_SS_INSTALL_UFW_CORE="/tmp/ss-install-ufw-packages"
TMP_SS_INSTALL_UFW_PACKAGES="/tmp/ss-install-ufw-packages"
TMP_SS_INSTALL_WORDPRESS_CLI="/tmp/ss-install-wordpress-cli"
TMP_SS_INSTALL_WORDPRESS_CONFIG="/tmp/ss-install-wordpress-config"
TMP_SS_INSTALL_WORDPRESS_CORE="/tmp/ss-install-wordpress-core"
TMP_SS_INSTALL_WORDPRESS_MU_PLUGINS="/tmp/ss-install-wordpress-mu-plugins"
TMP_SS_MAINTENANCE_DISABLE="/tmp/ss-maintenance-disable"
TMP_SS_MAINTENANCE_ENABLE="/tmp/ss-maintenance-enable"
TMP_SS_MONITOR_RESOURCES="/tmp/ss-monitor-resources"
TMP_SS_OPTIMIZE_DATABASE="/tmp/ss-optimize-database"
TMP_SS_OPTIMIZE_FILES="/tmp/ss-optimize-files"
TMP_SS_OVERVIEW="/tmp/ss-stack-overview"
TMP_SS_PERMS="/tmp/ss-perms"
TMP_SS_PERMS_ADMINER="/tmp/ss-perms-adminer"
TMP_SS_PERMS_CLAMAV="/tmp/ss-perms-clamav"
TMP_SS_PERMS_CRAFT_CONFIG="/tmp/ss-perms-craft-config"
TMP_SS_PERMS_CRAFT_CORE="/tmp/ss-perms-craft-core"
TMP_SS_PERMS_MAGENTO_CONFIG="/tmp/ss-perms-magento-config"
TMP_SS_PERMS_MAGENTO_CORE="/tmp/ss-perms-magento-core"
TMP_SS_PERMS_MEDIAWIKI_CONFIG="/tmp/ss-perms-mediawiki-config"
TMP_SS_PERMS_MEDIAWIKI_CORE="/tmp/ss-perms-mediawiki-core"
TMP_SS_PERMS_MOODLE_CONFIG="/tmp/ss-perms-moodle-config"
TMP_SS_PERMS_MOODLE_CORE="/tmp/ss-perms-moodle-core"
TMP_SS_PERMS_MYSQL_CONFIG="/tmp/ss-perms-mysql-config"
TMP_SS_PERMS_MYSQL_DATABASE="/tmp/ss-perms-mysql-database"
TMP_SS_PERMS_MYSQL_PACKAGES="/tmp/ss-perms-mysql-packages"
TMP_SS_PERMS_NGINX_CONFIG="/tmp/ss-perms-nginx-config"
TMP_SS_PERMS_NGINX_CORE="/tmp/ss-perms-nginx-packages"
TMP_SS_PERMS_NGINX_PACKAGES="/tmp/ss-perms-nginx-packages"
TMP_SS_PERMS_NGINX_SSL="/tmp/ss-perms-nginx-ssl"
TMP_SS_PERMS_OPENCART_CONFIG="/tmp/ss-perms-opencart-config"
TMP_SS_PERMS_OPENCART_CORE="/tmp/ss-perms-opencart-core"
TMP_SS_PERMS_PHP_CONFIG="/tmp/ss-perms-php-config"
TMP_SS_PERMS_PHP_CORE="/tmp/ss-perms-php-packages"
TMP_SS_PERMS_PHP_PACKAGES="/tmp/ss-perms-php-packages"
TMP_SS_PERMS_PRESTASHOP_CONFIG="/tmp/ss-perms-prestashop-config"
TMP_SS_PERMS_PRESTASHOP_CORE="/tmp/ss-perms-prestashop-core"
TMP_SS_PERMS_RCLONE_CONFIG="/tmp/ss-perms-rclone-config"
TMP_SS_PERMS_RCLONE_PACKAGES="/tmp/ss-perms-rclone-packages"
TMP_SS_PERMS_REDIS_CONFIG="/tmp/ss-perms-redis-config"
TMP_SS_PERMS_REDIS_PACKAGES="/tmp/ss-perms-redis-packages"
TMP_SS_PERMS_UBUNTU_BASH="/tmp/ss-perms-ubuntu-bash"
TMP_SS_PERMS_UBUNTU_CRONTAB="/tmp/ss-perms-ubuntu-crontab"
TMP_SS_PERMS_UBUNTU_KERNEL="/tmp/ss-perms-ubuntu-kernel"
TMP_SS_PERMS_UBUNTU_SSH="/tmp/ss-perms-ubuntu-ssh"
TMP_SS_PERMS_UBUNTU_SWAP="/tmp/ss-perms-ubuntu-swapfile"
TMP_SS_PERMS_UBUNTU_SWAPFILE="/tmp/ss-perms-ubuntu-swapfile"
TMP_SS_PERMS_UBUNTU_USERS="/tmp/ss-perms-ubuntu-users"
TMP_SS_PERMS_UBUNTU_UTILS="/tmp/ss-perms-ubuntu-utils"
TMP_SS_PERMS_UFW_CONFIG="/tmp/ss-perms-ufw-config"
TMP_SS_PERMS_UFW_CORE="/tmp/ss-perms-ufw-packages"
TMP_SS_PERMS_UFW_PACKAGES="/tmp/ss-perms-ufw-packages"
TMP_SS_PERMS_WORDPRESS_CLI="/tmp/ss-perms-wordpress-cli"
TMP_SS_PERMS_WORDPRESS_CONFIG="/tmp/ss-perms-wordpress-config"
TMP_SS_PERMS_WORDPRESS_CORE="/tmp/ss-perms-wordpress-core"
TMP_SS_PERMS_WORDPRESS_MU_PLUGINS="/tmp/ss-perms-wordpress-mu-plugins"
TMP_SS_PURGE_NGINX="/tmp/ss-purge-nginx"
TMP_SS_PURGE_OPCACHE="/tmp/ss-purge-opcache"
TMP_SS_PURGE_REDIS="/tmp/ss-purge-redis"
TMP_SS_PURGE_TRANSIENTS="/tmp/ss-purge-transients"
TMP_SS_REBOOT_MACHINE="/tmp/ss-reboot-machine"
TMP_SS_REMOTE="/tmp/ss-remote-backup"
TMP_SS_REMOTE_BACKUP="/tmp/ss-remote-backup"
TMP_SS_RESET_LOGS="/tmp/ss-empty-logs"
TMP_SS_RESET_PASSWORD_SFTP="/tmp/ss-reset-password-sftp"
TMP_SS_RESTART_MYSQL="/tmp/ss-restart-mysql"
TMP_SS_RESTART_NGINX="/tmp/ss-restart-nginx"
TMP_SS_RESTART_PHP="/tmp/ss-restart-php"
TMP_SS_RESTART_REDIS="/tmp/ss-restart-redis"
TMP_SS_RESTART_UFW="/tmp/ss-restart-ufw"
TMP_SS_SCAN_MALWARE="/tmp/ss-scan-malware"
TMP_SS_STACK_OVERVIEW="/tmp/ss-stack-overview"
TMP_SS_SYNC_STAGING="/tmp/ss-sync-staging"
TMP_SS_UPDATE="/tmp/ss-update"
TMP_SS_UPDATE_CONFIG="/tmp/ss-update-config"
TMP_SS_UPDATE_MODULES="/tmp/ss-update-modules"
TMP_SS_UPDATE_PACKAGES="/tmp/ss-update-packages"
TMP_SS_WORKER="/tmp/ss-worker"
## module config files ##
TMP_ADMINER_PHP="/tmp/adminer.php"
TMP_BASH_ALIASES="/tmp/bash-aliases.txt"
TMP_BASHRC="/tmp/bashrc.txt"
TMP_LETSENCRYPT_CONF="/tmp/letsencrypt.conf"
TMP_MAINTENANCE_HTML="/tmp/maintenance.html"
TMP_MY_CNF="/tmp/my.cnf"
TMP_NGINX_BLOCK_DEVELOPMENT="/tmp/server-block-dev"
TMP_NGINX_BLOCK_PRODUCTION="/tmp/default"
TMP_NGINX_BLOCK_STAGING="/tmp/server-block-staging"
TMP_NGINX_CONF="/tmp/nginx.conf"
TMP_OPENSSL_CONF="/tmp/openssl.conf"
TMP_PHP_FPM_CONF="/tmp/php-fpm.conf"
TMP_PHP_INI="/tmp/php.ini"
TMP_PRESTASHOP_ZIP="/tmp/prestashop.zip"
TMP_WWW_CONF="/tmp/www.conf"
TMP_RCLONE_CONF="/tmp/rclone.conf"
TMP_SS_CONSTANTS_PHP="/tmp/ss-constants.php"
TMP_SSHD_CONFIG="/tmp/sshd_config"
TMP_THIRDPARTY_CONF="/tmp/thirdparty.conf"
TMP_WORDPRESS_CONFIG_DEV="/tmp/wp-config-dev.php"
TMP_WORDPRESS_CONFIG_PRODUCTION="/tmp/wp-config-production.php"
TMP_WORDPRESS_CONFIG_STAGING="/tmp/wp-config-staging.php"
TMP_WORDPRESS_ZIP="/tmp/wordpress.zip"
TMP_WP_CONFIG="/tmp/wp-config-production.php"
TMP_WP_CONFIG_PHP="/tmp/wp-config-production.php"
TMP_XXX_COMMON_PHP="/tmp/xxx-common.php"
TMP_WP_CLI_PHAR="/tmp/wp-cli.phar"
TMP_WP_CLI_YML="/tmp/wp-cli.yml"
TMP_WP_COMPLETION="/tmp/wp-completion.bash"
####################################################################################################
#### D. SS-Functions: Permanent File Paths #########################################################
####################################################################################################
## directories ##
PATH_CACHE_NGINX="/var/www/cache/nginx/"
PATH_CACHE_OPCACHE="/var/www/cache/opcache/"
PATH_DIR_AUTH="/var/www/auth"
PATH_DATABASE_FILES_01="/var/lib/mysql"
PATH_DATABASE_FILES_02="/var/lib/mysql-files"
PATH_DATABASE_FILES_03="/var/lib/mysql-keyring"
## cron jobs ##
PATH_00_CRONTAB="/var/www/crons/00-crontab"
PATH_01_CRON_OFTEN="/var/www/crons/01-cron-often"
PATH_02_CRON_REGULAR="/var/www/crons/02-cron-regular"
PATH_03_CRON_QUARTER_HOURLY="/var/www/crons/03-cron-quarter-hourly"
PATH_04_CRON_HALF_HOURLY="/var/www/crons/04-cron-half-hourly"
PATH_05_CRON_HOURLY="/var/www/crons/05-cron-hourly"
PATH_06_CRON_QUARTER_DAILY="/var/www/crons/06-cron-quarter-daily"
PATH_07_CRON_HALF_DAILY="/var/www/crons/07-cron-half-daily"
PATH_08_CRON_DAILY="/var/www/crons/08-cron-daily"
PATH_09_CRON_HALF_WEEKLY="/var/www/crons/09-cron-half-weekly"
PATH_10_CRON_WEEKLY="/var/www/crons/10-cron-weekly"
PATH_11_CRON_HALF_MONTHLY="/var/www/crons/11-cron-half-monthly"
PATH_12_CRON_MONTHLY="/var/www/crons/12-cron-monthly"
PATH_13_CRON_SOMETIMES="/var/www/crons/13-cron-sometimes"
## custom cron jobs ##
PATH_01_CRON_OFTEN_CUSTOM="/var/www/crons/custom/01-cron-often-custom"
PATH_02_CRON_REGULAR_CUSTOM="/var/www/crons/custom/02-cron-regular-custom"
PATH_03_CRON_QUARTER_HOURLY_CUSTOM="/var/www/crons/custom/03-cron-quarter-hourly-custom"
PATH_04_CRON_HALF_HOURLY_CUSTOM="/var/www/crons/custom/04-cron-half-hourly-custom"
PATH_05_CRON_HOURLY_CUSTOM="/var/www/crons/custom/05-cron-hourly-custom"
PATH_06_CRON_QUARTER_DAILY_CUSTOM="/var/www/crons/custom/06-cron-quarter-daily-custom"
PATH_07_CRON_HALF_DAILY_CUSTOM="/var/www/crons/custom/07-cron-half-daily-custom"
PATH_08_CRON_DAILY_CUSTOM="/var/www/crons/custom/08-cron-daily-custom"
PATH_CRON_HALF_WEEKLY_CUSTOM="/var/www/crons/custom/09-cron-half-weekly-custom"
PATH_09_CRON_HALF_WEEKLY_CUSTOM="/var/www/crons/custom/09-cron-half-weekly-custom"
PATH_CRON_WEEKLY_CUSTOM="/var/www/crons/custom/10-cron-weekly-custom"
PATH_10_CRON_WEEKLY_CUSTOM="/var/www/crons/custom/10-cron-weekly-custom"
PATH_CRON_HALF_MONTHLY_CUSTOM="/var/www/crons/custom/11-cron-half-monthly-custom"
PATH_11_CRON_HALF_MONTHLY_CUSTOM="/var/www/crons/custom/11-cron-half-monthly-custom"
PATH_CRON_MONTHLY_CUSTOM="/var/www/crons/custom/12-cron-monthly-custom"
PATH_12_CRON_MONTHLY_CUSTOM="/var/www/crons/custom/12-cron-monthly-custom"
PATH_CRON_SOMETIMES_CUSTOM="/var/www/crons/custom/13-cron-sometimes-custom"
PATH_13_CRON_SOMETIMES_CUSTOM="/var/www/crons/custom/13-cron-sometimes-custom"
## bash scripts ##
PATH_SS_CHECK="/var/www/ss-check"
PATH_SS_CLEAN_DATABASE="/var/www/ss-clean-database"
PATH_SS_CLEAN_FILES="/var/www/ss-clean-files"
PATH_SS_CONFIG="/var/www/ss-config"
PATH_SS_CONFIG_SAMPLE="/var/www/ss-config-sample"
PATH_SS_DELETE_DATABASE="/var/www/ss-delete-database"
PATH_SS_DELETE_FILES="/var/www/ss-delete-files"
PATH_SS_DUMP_DATABASE="/var/www/ss-dump-database"
PATH_SS_DUMP_FILES="/var/www/ss-dump-files"
PATH_SS_EMPTY_LOGS="/var/www/ss-empty-logs"
PATH_SS_ENCRYPT_ACME="/var/www/ss-encrypt-acme"
PATH_SS_ENCRYPT_CERTBOT="/var/www/ss-encrypt-certbot"
PATH_SS_ENCRYPT_OPENSSL="/var/www/ss-encrypt-openssl"
PATH_SS_FUNCTIONS="/var/www/ss-functions"
PATH_SS_IMPORT_DATABASE="/var/www/ss-import-database"
PATH_SS_IMPORT_FILES="/var/www/ss-import-files"
PATH_SS_INSTALL="/var/www/ss-install"
PATH_SS_INSTALL_ADMINER="/var/www/ss-install-adminer"
PATH_SS_INSTALL_CLAMAV="/var/www/ss-install-clamav"
PATH_SS_INSTALL_CRAFT_CONFIG="/var/www/ss-install-craft-config"
PATH_SS_INSTALL_CRAFT_CORE="/var/www/ss-install-craft-core"
PATH_SS_INSTALL_MAGENTO_CONFIG="/var/www/ss-install-magento-config"
PATH_SS_INSTALL_MAGENTO_CORE="/var/www/ss-install-magento-core"
PATH_SS_INSTALL_MEDIAWIKI_CONFIG="/var/www/ss-install-mediawiki-config"
PATH_SS_INSTALL_MEDIAWIKI_CORE="/var/www/ss-install-mediawiki-core"
PATH_SS_INSTALL_MOODLE_CONFIG="/var/www/ss-install-moodle-config"
PATH_SS_INSTALL_MOODLE_CORE="/var/www/ss-install-moodle-core"
PATH_SS_INSTALL_MYSQL_CONFIG="/var/www/ss-install-mysql-config"
PATH_SS_INSTALL_MYSQL_DATABASE="/var/www/ss-install-mysql-database"
PATH_SS_INSTALL_MYSQL_PACKAGES="/var/www/ss-install-mysql-packages"
PATH_SS_INSTALL_NGINX_CONFIG="/var/www/ss-install-nginx-config"
PATH_SS_INSTALL_NGINX_LETSENCRYPT="/var/www/ss-install-nginx-letsencrypt"
PATH_SS_INSTALL_NGINX_OPENSSL="/var/www/ss-install-nginx-openssl"
PATH_SS_INSTALL_NGINX_PACKAGES="/var/www/ss-install-nginx-packages"
PATH_SS_INSTALL_NGINX_SSL="/var/www/ss-install-nginx-ssl"
PATH_SS_INSTALL_OPENCART_CONFIG="/var/www/ss-install-opencart-config"
PATH_SS_INSTALL_OPENCART_CORE="/var/www/ss-install-opencart-core"
PATH_SS_INSTALL_PHP_CONFIG="/var/www/ss-install-php-config"
PATH_SS_INSTALL_PHP_PACKAGES="/var/www/ss-install-php-packages"
PATH_SS_INSTALL_PRESTASHOP_CONFIG="/var/www/ss-install-prestashop-config"
PATH_SS_INSTALL_PRESTASHOP_CORE="/var/www/ss-install-prestashop-core"
PATH_SS_INSTALL_RCLONE_CONFIG="/var/www/ss-install-rclone-config"
PATH_SS_INSTALL_RCLONE_PACKAGES="/var/www/ss-install-rclone-packages"
PATH_SS_INSTALL_REDIS_CONFIG="/var/www/ss-install-redis-config"
PATH_SS_INSTALL_REDIS_PACKAGES="/var/www/ss-install-redis-packages"
PATH_SS_INSTALL_UBUNTU_BASH="/var/www/ss-install-ubuntu-bash"
PATH_SS_INSTALL_UBUNTU_CRONTAB="/var/www/ss-install-ubuntu-crontab"
PATH_SS_INSTALL_UBUNTU_KERNEL="/var/www/ss-install-ubuntu-kernel"
PATH_SS_INSTALL_UBUNTU_SSH="/var/www/ss-install-ubuntu-ssh"
PATH_SS_INSTALL_UBUNTU_SWAPFILE="/var/www/ss-install-ubuntu-swapfile"
PATH_SS_INSTALL_UBUNTU_USERS="/var/www/ss-install-ubuntu-users"
PATH_SS_INSTALL_UBUNTU_UTILS="/var/www/ss-install-ubuntu-utils"
PATH_SS_INSTALL_UFW_CONFIG="/var/www/ss-install-ufw-config"
PATH_SS_INSTALL_UFW_PACKAGES="/var/www/ss-install-ufw-packages"
PATH_SS_INSTALL_WORDPRESS_CLI="/var/www/ss-install-wordpress-cli"
PATH_SS_INSTALL_WORDPRESS_CONFIG="/var/www/ss-install-wordpress-config"
PATH_SS_INSTALL_WORDPRESS_CORE="/var/www/ss-install-wordpress-core"
PATH_SS_INSTALL_WORDPRESS_MU_PLUGINS="/var/www/ss-install-wordpress-mu-plugins"
PATH_SS_MAINTENANCE_DISABLE="/var/www/ss-maintenance-disable"
PATH_SS_MAINTENANCE_ENABLE="/var/www/ss-maintenance-enable"
PATH_SS_MONITOR_RESOURCES="/var/www/ss-monitor-resources"
PATH_SS_OPTIMIZE_DATABASE="/var/www/ss-optimize-database"
PATH_SS_OPTIMIZE_FILES="/var/www/ss-optimize-files"
PATH_SS_PERMS="/var/www/ss-perms"
PATH_SS_PERMS_ADMINER="/var/www/ss-perms-adminer"
PATH_SS_PERMS_CLAMAV="/var/www/ss-perms-clamav"
PATH_SS_PERMS_CRAFT_CONFIG="/var/www/ss-perms-craft-config"
PATH_SS_PERMS_CRAFT_CORE="/var/www/ss-perms-craft-core"
PATH_SS_PERMS_MAGENTO_CONFIG="/var/www/ss-perms-magento-config"
PATH_SS_PERMS_MAGENTO_CORE="/var/www/ss-perms-magento-core"
PATH_SS_PERMS_MEDIAWIKI_CONFIG="/var/www/ss-perms-mediawiki-config"
PATH_SS_PERMS_MEDIAWIKI_CORE="/var/www/ss-perms-mediawiki-core"
PATH_SS_PERMS_MOODLE_CONFIG="/var/www/ss-perms-moodle-config"
PATH_SS_PERMS_MOODLE_CORE="/var/www/ss-perms-moodle-core"
PATH_SS_PERMS_MYSQL_CONFIG="/var/www/ss-perms-mysql-config"
PATH_SS_PERMS_MYSQL_DATABASE="/var/www/ss-perms-mysql-database"
PATH_SS_PERMS_MYSQL_PACKAGES="/var/www/ss-perms-mysql-packages"
PATH_SS_PERMS_NGINX_CONFIG="/var/www/ss-perms-nginx-config"
PATH_SS_PERMS_NGINX_PACKAGES="/var/www/ss-perms-nginx-packages"
PATH_SS_PERMS_NGINX_SSL="/var/www/ss-perms-nginx-ssl" ## name might change
PATH_SS_PERMS_OPENCART_CONFIG="/var/www/ss-perms-opencart-config"
PATH_SS_PERMS_OPENCART_CORE="/var/www/ss-perms-opencart-core"
PATH_SS_PERMS_PHP_CONFIG="/var/www/ss-perms-php-config"
PATH_SS_PERMS_PHP_PACKAGES="/var/www/ss-perms-php-packages"
PATH_SS_PERMS_PRESTASHOP_CONFIG="/var/www/ss-perms-prestashop-config"
PATH_SS_PERMS_PRESTASHOP_CORE="/var/www/ss-perms-prestashop-core"
PATH_SS_PERMS_RCLONE_CONFIG="/var/www/ss-perms-rclone-config"
PATH_SS_PERMS_RCLONE_PACKAGES="/var/www/ss-perms-rclone-packages"
PATH_SS_PERMS_REDIS_CONFIG="/var/www/ss-perms-redis-config"
PATH_SS_PERMS_REDIS_PACKAGES="/var/www/ss-perms-redis-packages"
PATH_SS_PERMS_UBUNTU_BASH="/var/www/ss-perms-ubuntu-bash"
PATH_SS_PERMS_UBUNTU_CRONTAB="/var/www/ss-perms-ubuntu-crontab"
PATH_SS_PERMS_UBUNTU_KERNEL="/var/www/ss-perms-ubuntu-kernel"
PATH_SS_PERMS_UBUNTU_SSH="/var/www/ss-perms-ubuntu-ssh"
PATH_SS_PERMS_UBUNTU_SWAPFILE="/var/www/ss-perms-ubuntu-swapfile"
PATH_SS_PERMS_UBUNTU_USERS="/var/www/ss-perms-ubuntu-users"
PATH_SS_PERMS_UBUNTU_UTILS="/var/www/ss-perms-ubuntu-utils"
PATH_SS_PERMS_UFW_CONFIG="/var/www/ss-perms-ufw-config"
PATH_SS_PERMS_UFW_PACKAGES="/var/www/ss-perms-ufw-packages"
PATH_SS_PERMS_WORDPRESS_CLI="/var/www/ss-perms-wordpress-cli"
PATH_SS_PERMS_WORDPRESS_CONFIG="/var/www/ss-perms-wordpress-config"
PATH_SS_PERMS_WORDPRESS_CORE="/var/www/ss-perms-wordpress-core"
PATH_SS_PERMS_WORDPRESS_MU_PLUGINS="/var/www/ss-perms-wordpress-mu-plugins"
PATH_SS_PURGE_NGINX="/var/www/ss-purge-nginx"
PATH_SS_PURGE_OPCACHE="/var/www/ss-purge-opcache"
PATH_SS_PURGE_REDIS="/var/www/ss-purge-redis"
PATH_SS_PURGE_TRANSIENTS="/var/www/ss-purge-transients"
PATH_SS_REBOOT_MACHINE="/var/www/ss-reboot-machine"
PATH_SS_REMOTE_BACKUP="/var/www/ss-remote-backup"
PATH_SS_RESET_PASSWORD_SFTP="/var/www/ss-reset-password-sftp"
PATH_SS_RESTART_MYSQL="/var/www/ss-restart-mysql"
PATH_SS_RESTART_NGINX="/var/www/ss-restart-nginx"
PATH_SS_RESTART_PHP="/var/www/ss-restart-php"
PATH_SS_RESTART_REDIS="/var/www/ss-restart-redis"
PATH_SS_RESTART_UFW="/var/www/ss-restart-ufw"
PATH_SS_SCAN_MALWARE="/var/www/ss-scan-malware"
PATH_SS_STACK_OVERVIEW="/var/www/ss-stack-overview"
PATH_SS_SYNC_STAGING="/var/www/ss-sync-staging"
PATH_SS_UPDATE_CONFIG="/var/www/ss-update-config"
PATH_SS_UPDATE_MODULES="/var/www/ss-update-modules"
PATH_SS_WORKER="/var/www/ss-worker"
## module config paths ##
PATH_ADMINER_PHP="/var/www/meta/adminer.php"
PATH_BASHRC="/var/www/meta/.bashrc"
PATH_OPENSSL_CERTIFICATE="/var/www/certs/slickstack.crt"
PATH_OPENSSL_KEY="/var/www/certs/slickstack.key"
PATH_CRONTAB_ROOT="/var/spool/cron/crontabs/root"
PATH_MY_CNF="/etc/mysql/my.cnf"
PATH_LETSENCRYPT_CONF="/etc/nginx/conf.d/letsencrypt.conf"
PATH_MAINTENANCE_HTML="/var/www/meta/maintenance.html"
PATH_NGINX_CONF="/etc/nginx/nginx.conf"
PATH_NGINX_BLOCK_DEVELOPMENT="/var/www/sites/development"
PATH_NGINX_BLOCK_PRODUCTION="/var/www/sites/production"
PATH_NGINX_BLOCK_STAGING="/var/www/sites/staging"
PATH_WP_CLI_PHAR="/usr/local/bin/wp"
PATH_WP_CLI_YML="/var/www/meta/wp-cli.yml"
PATH_WP_COMPLETION_BASH="/var/www/meta/.wp-completion"
PATH_WP_CONFIG_DEV="/var/www/html/dev/wp-config.php"
PATH_WP_CONFIG_STAGING="/var/www/html/staging/wp-config.php"
PATH_WP_CONFIG="/var/www/html/wp-config.php"
PATH_WP_CONFIG_PHP="/var/www/html/wp-config.php"
PATH_XXX_COMMON_PHP="/var/www/html/wp-content/mu-plugins/xxx-common.php"
PATH_RCLONE_CONF="/var/www/meta/rclone.conf"
PATH_REDIS_CONF="/etc/redis/redis.conf"
PATH_ROOT_BASHRC="/root/.bashrc"
PATH_SS_CONSTANTS_PHP="/var/www/meta/ss-constants.php"
PATH_SSH_AUTHORIZED_KEYS_FILE="/var/www/auth/authorized_keys"
PATH_SSH_PUBLIC_KEY_FILE="/var/www/auth/id_rsa.pub"
PATH_SSH_PRIVATE_KEY_FILE="/var/www/auth/id_rsa"
PATH_SSHD_CONFIG="/etc/ssh/sshd_config"
PATH_SUDO_BASHRC="/home/${SUDO_USER}/.bashrc"
PATH_THIRDPARTY_CONF="/etc/nginx/conf.d/thirdparty.conf"
PATH_BASHRC_ROOT="/root/.bashrc"
PATH_BASHRC_SUDO="/home/${SUDO_USER}/.bashrc"
PATH_BASHRC_SLICKSTACK="/var/www/meta/.bashrc_slickstack"
## bash scripts snippets ##
PATH_DUMP_MYSQL_DATABASE="/var/www/backups/mysql/wp.sql"
PATH_DUMP_DATABASE_PRODUCTION="/var/www/backups/mysql/production.sql"
PATH_DUMP_DATABASE_STAGING="/var/www/backups/mysql/staging.sql"
PATH_DUMP_DATABASE_DEVELOPMENT="/var/www/backups/mysql/development.sql"
PATH_DUMP_DATABASE_FILES_01="/var/www/backups/mysql/data/mysql.bak"
PATH_DUMP_DATABASE_FILES_02="/var/www/backups/mysql/data/mysql-files.bak"
PATH_DUMP_DATABASE_FILES_03="/var/www/backups/mysql/data/mysql-keyring.bak"
####################################################################################################
#### E. SS-Functions: Timestamp File Paths #########################################################
####################################################################################################
## cron jobs ##
TIMESTAMP_01_CRON_OFTEN="/var/www/meta/timestamps/01-cron-often.timestamp"
TIMESTAMP_02_CRON_REGULAR="/var/www/meta/timestamps/02-cron-regular.timestamp"
TIMESTAMP_03_CRON_QUARTER_HOURLY="/var/www/meta/timestamps/03-cron-quarter-hourly.timestamp"
TIMESTAMP_04_CRON_HALF_HOURLY="/var/www/meta/timestamps/04-cron-half-hourly.timestamp"
TIMESTAMP_05_CRON_HOURLY="/var/www/meta/timestamps/05-cron-hourly.timestamp"
TIMESTAMP_06_CRON_QUARTER_DAILY="/var/www/meta/timestamps/06-cron-quarter-daily.timestamp"
TIMESTAMP_07_CRON_HALF_DAILY="/var/www/meta/timestamps/07-cron-half-daily.timestamp"
TIMESTAMP_08_CRON_DAILY="/var/www/meta/timestamps/08-cron-daily.timestamp"
TIMESTAMP_09_CRON_HALF_WEEKLY="/var/www/meta/timestamps/09-cron-half-weekly.timestamp"
TIMESTAMP_10_CRON_WEEKLY="/var/www/meta/timestamps/10-cron-weekly.timestamp"
TIMESTAMP_11_CRON_HALF_MONTHLY="/var/www/meta/timestamps/11-cron-half-monthly.timestamp"
TIMESTAMP_12_CRON_MONTHLY="/var/www/meta/timestamps/12-cron-monthly.timestamp"
TIMESTAMP_13_CRON_SOMETIMES="/var/www/meta/timestamps/13-cron-sometimes.timestamp"
## custom cron jobs ##
TIMESTAMP_01_CRON_OFTEN_CUSTOM="/var/www/meta/timestamps/01-cron-often-custom.timestamp"
TIMESTAMP_02_CRON_REGULAR_CUSTOM="/var/www/meta/timestamps/02-cron-regular-custom.timestamp"
TIMESTAMP_03_CRON_QUARTER_HOURLY_CUSTOM="/var/www/meta/timestamps/03-cron-quarter-hourly-custom.timestamp"
TIMESTAMP_04_CRON_HALF_HOURLY_CUSTOM="/var/www/meta/timestamps/04-cron-half-hourly-custom.timestamp"
TIMESTAMP_05_CRON_HOURLY_CUSTOM="/var/www/meta/timestamps/05-cron-hourly-custom.timestamp"
TIMESTAMP_06_CRON_QUARTER_DAILY_CUSTOM="/var/www/meta/timestamps/06-cron-quarter-daily-custom.timestamp"
TIMESTAMP_07_CRON_HALF_DAILY_CUSTOM="/var/www/meta/timestamps/07-cron-half-daily-custom.timestamp"
TIMESTAMP_08_CRON_DAILY_CUSTOM="/var/www/meta/timestamps/08-cron-daily-custom.timestamp"
TIMESTAMP_09_CRON_HALF_WEEKLY_CUSTOM="/var/www/meta/timestamps/09-cron-half-weekly-custom.timestamp"
TIMESTAMP_10_CRON_WEEKLY_CUSTOM="/var/www/meta/timestamps/10-cron-weekly-custom.timestamp"
TIMESTAMP_11_CRON_HALF_MONTHLY_CUSTOM="/var/www/meta/timestamps/11-cron-half-monthly-custom.timestamp"
TIMESTAMP_12_CRON_MONTHLY_CUSTOM="/var/www/meta/timestamps/12-cron-monthly-custom.timestamp"
TIMESTAMP_13_CRON_SOMETIMES_CUSTOM="/var/www/meta/timestamps/13-cron-sometimes-custom.timestamp"
## bash scripts ##
TIMESTAMP_SS_CHECK="/var/www/meta/timestamps/ss-check.timestamp"
TIMESTAMP_SS_CLEAN_DATABASE="/var/www/meta/timestamps/ss-clean-database.timestamp"
TIMESTAMP_SS_CLEAN_FILES="/var/www/meta/timestamps/ss-clean-files.timestamp"
TIMESTAMP_SS_DELETE_DATABASE="/var/www/meta/timestamps/ss-delete-database.timestamp"
TIMESTAMP_SS_DELETE_FILES="/var/www/meta/timestamps/ss-delete-files.timestamp"
TIMESTAMP_SS_DUMP_DATABASE="/var/www/meta/timestamps/ss-dump-database.timestamp"
TIMESTAMP_SS_DUMP_FILES="/var/www/meta/timestamps/ss-dump-files.timestamp"
TIMESTAMP_SS_EMPTY_LOGS="/var/www/meta/timestamps/ss-empty-logs.timestamp"
TIMESTAMP_SS_ENCRYPT_ACME="/var/www/meta/timestamps/ss-encrypt-acme.timestamp"
TIMESTAMP_SS_ENCRYPT_CERTBOT="/var/www/meta/timestamps/ss-encrypt-certbot.timestamp"
TIMESTAMP_SS_ENCRYPT_OPENSSL="/var/www/meta/timestamps/ss-encrypt-openssl.timestamp"
TIMESTAMP_SS_IMPORT_DATABASE="/var/www/meta/timestamps/ss-import-database.timestamp"
TIMESTAMP_SS_IMPORT_FILES="/var/www/meta/timestamps/ss-import-files.timestamp"
TIMESTAMP_SS_INSTALL="/var/www/meta/timestamps/ss-install.timestamp"
TIMESTAMP_SS_INSTALL_ADMINER="/var/www/meta/timestamps/ss-install-adminer.timestamp"
TIMESTAMP_SS_INSTALL_CLAMAV="/var/www/meta/timestamps/ss-install-clamav.timestamp"
TIMESTAMP_SS_INSTALL_CRAFT_CONFIG="/var/www/meta/timestamps/ss-install-craft-config.timestamp"
TIMESTAMP_SS_INSTALL_CRAFT_CORE="/var/www/meta/timestamps/ss-install-craft-core.timestamp"
TIMESTAMP_SS_INSTALL_MAGENTO_CONFIG="/var/www/meta/timestamps/ss-install-magento-config.timestamp"
TIMESTAMP_SS_INSTALL_MAGENTO_CORE="/var/www/meta/timestamps/ss-install-magento-core.timestamp"
TIMESTAMP_SS_INSTALL_MEDIAWIKI_CONFIG="/var/www/meta/timestamps/ss-install-mediawiki-config.timestamp"
TIMESTAMP_SS_INSTALL_MEDIAWIKI_CORE="/var/www/meta/timestamps/ss-install-mediawiki-core.timestamp"
TIMESTAMP_SS_INSTALL_MOODLE_CONFIG="/var/www/meta/timestamps/ss-install-moodle-config.timestamp"
TIMESTAMP_SS_INSTALL_MOODLE_CORE="/var/www/meta/timestamps/ss-install-moodle-core.timestamp"
TIMESTAMP_SS_INSTALL_MYSQL_CONFIG="/var/www/meta/timestamps/ss-install-mysql-config.timestamp"
TIMESTAMP_SS_INSTALL_MYSQL_DATABASE="/var/www/meta/timestamps/ss-install-mysql-database.timestamp"
TIMESTAMP_SS_INSTALL_MYSQL_PACKAGES="/var/www/meta/timestamps/ss-install-mysql-packages.timestamp"
TIMESTAMP_SS_INSTALL_NGINX_CONFIG="/var/www/meta/timestamps/ss-install-nginx-config.timestamp"
TIMESTAMP_SS_INSTALL_NGINX_LETSENCRYPT="/var/www/meta/timestamps/ss-install-nginx-letsencrypt.timestamp"
TIMESTAMP_SS_INSTALL_NGINX_OPENSSL="/var/www/meta/timestamps/ss-install-nginx-openssl.timestamp"
TIMESTAMP_SS_INSTALL_NGINX_PACKAGES="/var/www/meta/timestamps/ss-install-nginx-packages.timestamp"
TIMESTAMP_SS_INSTALL_NGINX_SSL="/var/www/meta/timestamps/ss-install-nginx-ssl.timestamp"
TIMESTAMP_SS_INSTALL_OPENCART_CONFIG="/var/www/meta/timestamps/ss-install-opencart-config.timestamp"
TIMESTAMP_SS_INSTALL_OPENCART_CORE="/var/www/meta/timestamps/ss-install-opencart-core.timestamp"
TIMESTAMP_SS_INSTALL_PHP_CONFIG="/var/www/meta/timestamps/ss-install-php-config.timestamp"
TIMESTAMP_SS_INSTALL_PHP_PACKAGES="/var/www/meta/timestamps/ss-install-php-packages.timestamp"
TIMESTAMP_SS_INSTALL_PRESTASHOP_CONFIG="/var/www/meta/timestamps/ss-install-prestashop-config.timestamp"
TIMESTAMP_SS_INSTALL_PRESTASHOP_CORE="/var/www/meta/timestamps/ss-install-prestashop-core.timestamp"
TIMESTAMP_SS_INSTALL_RCLONE_CONFIG="/var/www/meta/timestamps/ss-install-rclone-config.timestamp"
TIMESTAMP_SS_INSTALL_RCLONE_PACKAGES="/var/www/meta/timestamps/ss-install-rclone-packages.timestamp"
TIMESTAMP_SS_INSTALL_REDIS_CONFIG="/var/www/meta/timestamps/ss-install-redis-config.timestamp"
TIMESTAMP_SS_INSTALL_REDIS_PACKAGES="/var/www/meta/timestamps/ss-install-redis-packages.timestamp"
TIMESTAMP_SS_INSTALL_UBUNTU_BASH="/var/www/meta/timestamps/ss-install-ubuntu-bash.timestamp"
TIMESTAMP_SS_INSTALL_UBUNTU_CRONTAB="/var/www/meta/timestamps/ss-install-ubuntu-crontab.timestamp"
TIMESTAMP_SS_INSTALL_UBUNTU_KERNEL="/var/www/meta/timestamps/ss-install-ubuntu-kernel.timestamp"
TIMESTAMP_SS_INSTALL_UBUNTU_SSH="/var/www/meta/timestamps/ss-install-ubuntu-ssh.timestamp"
TIMESTAMP_SS_INSTALL_UBUNTU_SWAPFILE="/var/www/meta/timestamps/ss-install-ubuntu-swapfile.timestamp"
TIMESTAMP_SS_INSTALL_UBUNTU_USERS="/var/www/meta/timestamps/ss-install-ubuntu-users.timestamp"
TIMESTAMP_SS_INSTALL_UBUNTU_UTILS="/var/www/meta/timestamps/ss-install-ubuntu-utils.timestamp"
TIMESTAMP_SS_INSTALL_UFW_CONFIG="/var/www/meta/timestamps/ss-install-ufw-config.timestamp"
TIMESTAMP_SS_INSTALL_UFW_PACKAGES="/var/www/meta/timestamps/ss-install-ufw-packages.timestamp"