We need to perform two configurations where we will define the Mesos master-related information and ZooKeeper information.
The following are the steps to work on the configuration of Marathon:
- Edit the marathon.service file by opening the file that is inside /etc/systemd/system/multi-user.target.wants/. Type ls -arlt and you will see the marathon.service file:

- Open that file, and you will see the basic configuration of Marathon. The language starts with ExecStart. Go to the end and input the master information and the ZooKeeper information. This information will help the Marathon framework to connect to Mesos master, ...