This file is indexed.

/etc/zentyal/hooks/template.preservice is in zentyal-core 2.3.4.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#!/bin/sh

# This is a sample preservice script.

# preservice scripts are run before the services associated to a given service
# module are run. The module will check if an executable file called
# <module>.preservice exists in /etc/zentyal/hooks and will try to run it.

# The script will receive a command line argument indicating whether the
# module is enabled (1) or not (0).

# Copy this file or create a script with the appropriate name if you want
# to run some customization script before a module runs its services.

exit 0