I've been able to reproduce the issue and you will need to apply the following changes:
- First of all, as our documentation says, you will need to copy the ctlscript.sh file to the /etc/init.d folder because you installed the stack using the root user
sudo cp /opt/bitnami/ctlscript.sh /etc/init.d/bitnami
and modify the permissions
sudo chmod +x /etc/init.d/bitnami
Howerver, the headers info should look like this
### BEGIN INIT INFO
# Provides: bitnami-mautic
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: Enable services provided by daemon.
### END INIT INFO
Note that the #!/bin/sh line must be first
Then, enable the service using this command
sudo systemctl enable bitnami
It should start the services during the next boot.
I'll notify our documentation team to update the guide accordingly.
Happy to help!
Was my answer helpful? Click on