forked from PGBlitz/Traefik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtraefik.sh
72 lines (66 loc) · 1.5 KB
/
traefik.sh
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
#!/bin/bash
#
# Title: PGBlitz (Reference Title File)
# Author(s): Admin9705
# URL: https://pgblitz.com - http://github.pgblitz.com
# GNU: General Public License v3.0
################################################################################
source /pg/traefik/functions.sh
traefikstart() {
traefikpaths #functions
traefikstatus #functions
layoutbuilder # functions - builds out menu
case $typed in
1 )
bash /pg/traefik/tld.sh
bash /pg/traefik/traefik.sh
exit ;;
2 )
providerinterface
bash /pg/traefik/traefik.sh
exit ;;
3 )
domaininterface
bash /pg/traefik/traefik.sh
exit ;;
4 )
emailinterface
bash /pg/traefik/traefik.sh
exit ;;
5 )
delaycheckinterface
bash /pg/traefik/traefik.sh
exit ;;
a )
blockdeploycheck
deploytraefik
bash /pg/traefik/traefik.sh
exit ;;
A )
blockdeploycheck
deploytraefik
bash /pg/traefik/traefik.sh
exit ;;
B )
destroytraefik
bash /pg/traefik/traefik.sh
exit ;;
b )
destroytraefik
bash /pg/traefik/traefik.sh
exit ;;
z )
exit ;;
Z )
exit ;;
* )
traefikstart ;;
esac
}
main /pg/var/traefik.provider NOT-SET provider
main /pg/var/server.email NOT-SET email
main /pg/var/server.delaycheck 60 delaycheck
main /pg/var/server.domain NOT-SET domain
main /pg/var/tld.program NOT-SET tld
main /pg/var/traefik.deploy 'Not Deployed' deploy
traefikstart