Browse Source

Adding and removing dynamic dns domains

Bob Mottram 8 years ago
parent
commit
db96218814

+ 3
- 0
src/freedombone-app-dokuwiki View File

205
     remove_completion_param "dokuwiki domain"
205
     remove_completion_param "dokuwiki domain"
206
     sed -i '/Dokuwiki/d' /home/$MY_USERNAME/README
206
     sed -i '/Dokuwiki/d' /home/$MY_USERNAME/README
207
     sed -i '/dokuwiki/d' $COMPLETION_FILE
207
     sed -i '/dokuwiki/d' $COMPLETION_FILE
208
+
209
+    function_check remove_ddns_domain
210
+    remove_ddns_domain $DOKUWIKI_DOMAIN_NAME
208
 }
211
 }
209
 
212
 
210
 function get_dokuwiki_admin_password {
213
 function get_dokuwiki_admin_password {

+ 3
- 0
src/freedombone-app-gnusocial View File

491
     fi
491
     fi
492
     sed -i '/Gnusocial/d' /home/$MY_USERNAME/README
492
     sed -i '/Gnusocial/d' /home/$MY_USERNAME/README
493
     remove_backup_database_local gnusocial
493
     remove_backup_database_local gnusocial
494
+
495
+    function_check remove_ddns_domain
496
+    remove_ddns_domain $GNUSOCIAL_DOMAIN_NAME
494
 }
497
 }
495
 
498
 
496
 function install_gnusocial_main {
499
 function install_gnusocial_main {

+ 3
- 0
src/freedombone-app-gogs View File

352
     remove_completion_param "install_gogs"
352
     remove_completion_param "install_gogs"
353
     sed -i '/gogs /d' $COMPLETION_FILE
353
     sed -i '/gogs /d' $COMPLETION_FILE
354
     remove_backup_database_local gogs
354
     remove_backup_database_local gogs
355
+
356
+    function_check remove_ddns_domain
357
+    remove_ddns_domain $GIT_DOMAIN_NAME
355
 }
358
 }
356
 
359
 
357
 function install_gogs {
360
 function install_gogs {

+ 3
- 0
src/freedombone-app-htmly View File

343
     sed -i '/htmly/d' $COMPLETION_FILE
343
     sed -i '/htmly/d' $COMPLETION_FILE
344
     sed -i '/htmly/d' /home/$MY_USERNAME/README
344
     sed -i '/htmly/d' /home/$MY_USERNAME/README
345
     sed -i '/Htmly/d' /home/$MY_USERNAME/README
345
     sed -i '/Htmly/d' /home/$MY_USERNAME/README
346
+
347
+    function_check remove_ddns_domain
348
+    remove_ddns_domain $HTMLY_DOMAIN_NAME
346
 }
349
 }
347
 
350
 
348
 function get_htmly_admin_password {
351
 function get_htmly_admin_password {

+ 3
- 0
src/freedombone-app-hubzilla View File

292
     sed -i '/hubzilla/d' $COMPLETION_FILE
292
     sed -i '/hubzilla/d' $COMPLETION_FILE
293
     sed -i '/hubzilla/d' /home/$MY_USERNAME/README
293
     sed -i '/hubzilla/d' /home/$MY_USERNAME/README
294
     sed -i '/Hubzilla/d' /home/$MY_USERNAME/README
294
     sed -i '/Hubzilla/d' /home/$MY_USERNAME/README
295
+
296
+    function_check remove_ddns_domain
297
+    remove_ddns_domain $HUBZILLA_DOMAIN_NAME
295
 }
298
 }
296
 
299
 
297
 function install_hubzilla {
300
 function install_hubzilla {

+ 6
- 0
src/freedombone-app-jitsi View File

244
     remove_completion_param install_jitsi
244
     remove_completion_param install_jitsi
245
     sed -i '/jitsi/d' ${COMPLETION_FILE}
245
     sed -i '/jitsi/d' ${COMPLETION_FILE}
246
     sed -i '/Jitsi/d' /home/${MY_USERNAME}/README
246
     sed -i '/Jitsi/d' /home/${MY_USERNAME}/README
247
+
248
+    function_check remove_ddns_domain
249
+    remove_ddns_domain $JITSI_DOMAIN_NAME
247
 }
250
 }
248
 
251
 
249
 function install_jitsi_videobridge {
252
 function install_jitsi_videobridge {
529
     install_jitsi_jicofo
532
     install_jitsi_jicofo
530
     install_jitsi_meet
533
     install_jitsi_meet
531
 
534
 
535
+    function_check add_ddns_domain
536
+    add_ddns_domain $JITSI_DOMAIN_NAME
537
+
532
     APP_INSTALLED=1
538
     APP_INSTALLED=1
533
 }
539
 }

+ 3
- 0
src/freedombone-app-mediagoblin View File

171
 
171
 
172
 function remove_mediagoblin {
172
 function remove_mediagoblin {
173
     remove_certs ${MEDIAGOBLIN_DOMAIN_NAME}
173
     remove_certs ${MEDIAGOBLIN_DOMAIN_NAME}
174
+
175
+    function_check remove_ddns_domain
176
+    remove_ddns_domain $MEDIAGOBLIN_DOMAIN_NAME
174
 }
177
 }
175
 
178
 
176
 function install_mediagoblin {
179
 function install_mediagoblin {

+ 3
- 0
src/freedombone-app-postactiv View File

335
     fi
335
     fi
336
     sed -i '/Postactiv/d' /home/$MY_USERNAME/README
336
     sed -i '/Postactiv/d' /home/$MY_USERNAME/README
337
     remove_backup_database_local postactiv
337
     remove_backup_database_local postactiv
338
+
339
+    function_check remove_ddns_domain
340
+    remove_ddns_domain $POSTACTIV_DOMAIN_NAME
338
 }
341
 }
339
 
342
 
340
 function install_postactiv_main {
343
 function install_postactiv_main {