Last active
January 9, 2024 04:16
-
-
Save maitret/f359d8076314b5bf8189a3a9148466fb to your computer and use it in GitHub Desktop.
Poste.io Fixes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # /etc/cont-init.d/05-domains.sh | |
| if [ ! -d /data/domains ]; then | |
| echo -e "\t\t\033[1;33m* creating /data/domains directory\033[0m" | |
| mkdir -p /data/domains | |
| fi | |
| # removed stat --format '%U' ... and stat --format '%G' ... to get rid of statx bug | |
| user="$(/bin/core-username "/data/domains")" | |
| group="$(/bin/core-groupname "/data/domains")" | |
| # if [ "mail" != "${user}" ] || [ "mail" != "${group}" ] ; then | |
| # chown mail:mail -R /data/domains | |
| # fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment