1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-03 00:07:05 +00:00
mailinabox/setup/mods.available
2023-10-06 05:50:16 -04:00
..
conf/zpush sync should be true for a nextcloud backend 2022-09-05 15:29:39 -04:00
hooks Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox 2023-06-16 17:32:28 -04:00
connect-nextcloud-to-miab.sh Use an explicit php exectable and package if specified by environment variables 2022-10-13 09:27:58 -04:00
coturn.sh mod: protect the coturn turnserver secret 2022-11-14 17:38:35 -05:00
logwatch.sh mods: update copyright 2023-01-25 08:50:19 -05:00
move-postfix-queue-to-user-data.sh Update rsyslog's postfix configuration, which creates a socket in postfix's chroot 2023-10-06 05:50:16 -04:00
rcmcarddav-composer.sh Add copyright to source files 2022-09-19 14:45:11 -04:00
README.md setup: update mods.available/README.md wording 2022-11-06 08:05:32 -05:00
remote-nextcloud.sh ios: set the caldav and carddav hostnames in the mobileconfig plist to that of the remote nextcloud 2022-11-13 13:35:15 -05:00
roundcube-debug.sh Add copyright to source files 2022-09-19 14:45:11 -04:00
roundcube-larry-skin.sh Add license 2022-10-30 08:46:12 -04:00
roundcube-master.sh Add copyright to source files 2022-09-19 14:45:11 -04:00
unattended-upgrades-mail.sh Add copyright to source files 2022-09-19 14:45:11 -04:00

This directory contains optional scripts that are run as part of setup (as the last step). They are disabled by default. To use them, create a local directory containing symbolic links to the mods you care to enable.

For example, to add coturn support for Nextcloud Talk do the following from the root directory of your installation:

setup/enmod.sh coturn

When setup/start.sh (or ehdd/start-encrypted.sh) are run, these scripts will be executed after setup has completed.

Before enabling any mod scripts from setup/mods.available (or elsewhere), be aware that they will likely modify your system, and that removal of the script from local will not restore the system to its pre-mod state. For example, enabling coturn, then removing the local/coturn.sh symlink, will not remove coturn from the system. It will still be active and enabled in systemd and firewall rules it added will still be in place.

Before enabling any setup mod, it's very important that you look at the script and understand what it's doing and how to remove it.

USE OF SETUP MODS IS AT YOUR OWN RISK

If you're creating your own setup mod, it should not store files in STORAGE_ROOT (/home/user-data) that are required at boot due to encryption-at-rest issues. With encryption-at-rest enabled, STORAGE_ROOT (/home/user-data) is not available until the encrypted drive has been mounted (the sysadmin has manually keyed in the EHDD drive password) and any mod with a system service that starts without the drive available may fail or behave in unexpected ways.

If you wish to contribute your own mod, please create a PR to add it to this directory. Ensure the script contains the author's name, when it was last updated, requirements for running the script, and how to remove it. Please note that this project is GPL and any contributions will fall under that license.