Commit graph

18 commits

Author SHA1 Message Date
Jay Pfaffman
b7a6888a2b
bash tab completion for launcher + discourse-setup ()
add tab completion for launcher and discourse-setup.

For launcher, offers command (e.g., rebuild, start) and then offers yml files from containers directory. After that switches (e.g., --run-image) are offered. (Will not offer switches except in final position, sorry.)

discourse-setup offers switches (e.g., --two-container).

discourse-docter has no command line arguments.
2024-08-19 08:31:55 +10:00
Andrew Schleifer
64ae2b03b2 remove swapfile script
The instructions have, for quite some time now, pointed users at the
`discourse-setup` script. That will prompt the user to create a swapfile
if necessary and configure relevant sysctls.
2024-03-01 10:18:53 +08:00
Sam
3273a8e18f DEV: cleanup docker prune pattern
- When out of space don't prompt a second time to cleanup
- Remove docker gc script which is unused
- Use system prune -a consistently
2019-02-14 09:20:18 +11:00
Jeff Atwood
2bdc916753 incorrect GB calc 2016-04-21 17:07:49 -07:00
Sam Saffron
e7d7546612 use docker-gc docker image 2015-10-29 09:11:45 +11:00
Sam
e2d3195622 perms 2015-10-12 15:04:29 +11:00
Sam
4e0c969be0 update docker gc script 2015-10-12 09:52:53 +11:00
Sam
29a35d1b5f Use docker-gc by spotify for cleanup 2015-07-30 12:50:31 +10:00
Kane York
579ce85d19 Rip out mailtest 2015-07-06 10:49:42 -07:00
Ross Hays
4c6344497e Fixing a syntax error with one of the exception handlers 2015-05-06 15:58:42 -04:00
Jan-Philip Gehrcke
7221309ebb scripts/mailtest: fix socket family check.
There is no AddressFamily attribute:

Traceback (most recent call last):
  File "/var/docker/scripts/mailtest", line 140, in <module>
    do_tls(smtp,smtp_sslv)
  File "/var/docker/scripts/mailtest", line 44, in do_tls
    if conn.sock.family == socket.AddressFamily.AF_INET:
AttributeError: 'module' object has no attribute 'AddressFamily'

However, there is `socket.AF_INET` etc.
2014-07-22 16:14:41 +02:00
Michael Brown
e61914cbb9 Clarify SSL verification warning 2014-05-10 01:41:57 -04:00
Michael Brown
839f02662e Check before using ssl.create_default_context 2014-04-25 02:18:54 -04:00
Michael Brown
d6da9cd2f0 mk_swapfile: add option to specify size in GB 2014-04-22 13:50:52 -04:00
Michael Brown
8b9d6bffec Modify swapfile size from 512MiB to 1GiB 2014-04-22 13:06:36 -04:00
Michael Brown
034f6554dd Add script to easily make a swapfile 2014-04-22 09:54:18 -04:00
Michael Brown
76a9915e47 Add suggestions to mailtest script
* add output colorization if available
* add list of 'known good settings'
* add suggestions based on port used
2014-04-21 22:31:48 -04:00
Michael Brown
7936ebaaed Add ability to test email from launcher 2014-04-19 03:09:10 -04:00