Sfoglia il codice sorgente

Adds missing templates.

master
turint 11 anni fa
parent
commit
eeb9df55d5
2 ha cambiato i file con 24 aggiunte e 0 eliminazioni
  1. 1
    0
      debian/jitsi-meet.postinst
  2. 23
    0
      debian/jitsi-meet.templates

+ 1
- 0
debian/jitsi-meet.postinst Vedi File

@@ -42,6 +42,7 @@ case "$1" in
42 42
         CERT_CHOICE="$RET"
43 43
         if [ "$CERT_CHOICE" == 'I want a generated self-signed certificate' ]; then
44 44
             # self-signed certificate is already in place for prosody
45
+            :
45 46
         elif [ "$CERT_CHOICE" == 'I have a certificate and will upload the files on the server' ]; then
46 47
             db_fset jitsi-meet/default-key "/etc/ssl/$JVB_HOSTNAME.key"
47 48
             db_get jitsi-meet/cert-path-key

+ 23
- 0
debian/jitsi-meet.templates Vedi File

@@ -0,0 +1,23 @@
1
+Template: jitsi-meet/cert-choice
2
+Type: select
3
+Choices: I want a generated self-signed certificate, I have a certificate and will upload the files on the server
4
+Description: SSL certificate for the Jitsi Meet instance
5
+ Jitsi Meet is best to be set up with an SSL certificate.
6
+ If you have no certificate, we can generate a self-signed one.
7
+ If you have a certificate signed by a recognised CA, you can upload it on the server 
8
+ and point us to its location. The default filenames will be /etc/ssl/--domain.name--.key 
9
+ for the key and /etc/ssl/--domain.name--.crt for the certificate.
10
+
11
+Template: jitsi-meet/cert-path-key
12
+Type: string
13
+Default: ${default-key}
14
+Description: Full local server path to the SSL key file
15
+ The full path to the SSL key file on the server.
16
+ If you haven't uploaded it, now is a good time to upload it in another console.
17
+
18
+Template: jitsi-meet/cert-path-crt
19
+Type: string
20
+Default: ${default-crt}
21
+Description: Full local server path to the SSL certificate file
22
+ The full path to the SSL certificate file on the server.
23
+ If you haven't uploaded it, now is a good time to upload it in another console.

Loading…
Annulla
Salva