[Magisk] pat357:
Thank you very much for this new release !

After installing & reboot automount didn't work, but I was able to mount everything using fbind -m in a terminal (termux).

After renaming the service.sh to post-fs-data.sh, everything in my config.txt is mounted upon booting.

The major difference is that my mounted folders on my internal phone memory are finally writable !! (permissions 770 instead of 755 with previous versions).

I checked my other modules that I've installed, but none of them uses a service.sh : only automount and post-fs-data.sh.

I'll check after installing a new module that actually uses a service.sh to see if the service.sh is executed by Magisk or not and report back here.

I wonder whether you use the Magisk template , where you tell Magisk if automount. post-fs-data, service.sh,.. are used or not.

Press the Click here to show content button and look under the section # Configs

##########################################################################################
#
# Magisk Module Template Config Script
# by topjohnwu
#
##########################################################################################
##########################################################################################
#
# Instructions:
#
# 1. Place your files into system folder (delete the placeholder file)
# 2. Fill in your module's info into module.prop
# 3. Configure the settings in this file (common/config.sh)
# 4. For advanced features, add shell commands into the script files under common:
# post-fs-data.sh, service.sh
# 5. For changing props, add your additional/modified props into common/system.prop
#
##########################################################################################

##########################################################################################
# Configs
##########################################################################################

# Set to true if you need to enable Magic Mount
# Most mods would like it to be enabled
AUTOMOUNT=true

# Set to true if you need to load system.prop
PROPFILE=false

# Set to true if you need post-fs-data script
POSTFSDATA=false

# Set to true if you need late_start service script
LATESTARTSERVICE=false

##########################################################################################
# Installation Message
##########################################################################################

# Set what you want to show when installing your mod

print_modname() {
ui_print "*******************************"
ui_print "Enable Doze for GMS Magisk Module v6 by otonieru"
ui_print "*******************************"
}

##########################################################################################
# Replace list
##########################################################################################

# List all directories you want to directly replace in the system
# By default Magisk will merge your files with the original system
# Directories listed here however, will be directly mounted to the correspond directory in the system

# You don't need to remove the example below, these values will be overwritten by your own list
# This is an example
REPLACE="
/system/app/Youtube
/system/priv-app/SystemUI
/system/priv-app/Settings
/system/framework
"

# Construct your own list here, it will overwrite the example
# !DO NOT! remove this if you don't need to replace anything, leave it empty as it is now
REPLACE="
/system/etc/sysconfig/google.xml
"

##########################################################################################
# Permissions
##########################################################################################

set_permissions() {
# Only some special files require specific permissions
# The default permissions should be good enough for most cases

# Here are some examples for the set_perm functions:

# set_perm_recursive <dirname> <owner> <group> <dirpermission> <filepermission> <contexts> (default: u:object_r:system_file:s0)
# set_perm_recursive $MODPATH/system/lib 0 0 0755 0644

# set_perm <filename> <owner> <group> <permission> <contexts> (default: u:object_r:system_file:s0)
# set_perm $MODPATH/system/bin/app_process32 0 2000 0755 u:object_r:zygote_exec:s0
# set_perm $MODPATH/system/bin/dex2oat 0 2000 0755set_perm $MODPATH/system/etc/sysconfig/google.xml 0 0 0644 u:object_r:dex2oat_exec:s0
# set_perm $MODPATH/system/lib/libart.so 0 0 0644

# The following is default permissions, DO NOT remove
set_perm $MODPATH/system/etc/sysconfig/google.xml 0 0	0755	0644
}

Notice the variable LATESTARTSERVICE , it should be set to true for fbind.