/etc/zentyal/hooks/template.postservice 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 postservice script.
# postservice scripts are run after the services associated to a given service
# module are run. The module will check if an executable file called
# <module>.postservice 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 after a module runs its services.
exit 0
|