Create init.d Apache service for multiple instances on debian

I am trying to install a second instance of apache on debian. I used the multiple instance script. during the installation it says:

root@nextcloudpi:/usr/share/doc/apache2/examples# sudo sh setup-instance suitecrm2
Setting up /etc/apache2-suitecrm2 ...
systemd is in use, no init script installed
use the '[email protected]' service to control your new instance
sample commands:
systemctl start [email protected]
systemctl enable [email protected]
Setting up symlinks: a2enmod-suitecrm2 a2dismod-suitecrm2 a2ensite-suitecrm2 a2dissite-suitecrm2 a2enconf-suitecrm2 a2disconf-suitecrm2 apache2ctl-suitecrm2
Setting up /etc/logrotate.d/apache2-suitecrm2 and /var/log/apache2-suitecrm2 ...
Setting up /etc/default/apache-htcacheclean-suitecrm2
root@nextcloudpi:/usr/share/doc/apache2/examples# sudo systemctl edit apache2.service

So systemd is in use and i don't get a service file in init.d When i try to start the service as mentioned in the code it says there is no [email protected].

How do i create a correct init.d file to start the service, or how do i stop systemd from working so it is not in use and the script to create a second instance is allowed to place the script.

I have looked in the documentation and found that there is a script secondary-init-script, also to be found in /use/share/doc/Apache2/examples. But I don't understand how this works ( see https://alioth-lists-archive.debian.net/pipermail/pkg-apache-commits/2010-February/000296.html

Thanks


Please check if you executed systemctl daemon-reload to update systemd-information.

The script-output also tells:

use the '[email protected]' service to control your new instance

So something like systemctl restart [email protected] should work.

You could also check the content of /var/lib/systemd/... for generated unit-files.