I am trying to create Prometheus alert manager as a service, so I was looking at one of the tutorial where they create alert manager service in Linux in etc/systemd/system/alertmanager.service. I was wondering what the alternative path be in MAC? In MAC, I cant find /etc/systemd/system, I can go until /etc but there is no systemd under that folder.My goal is whenever I start my alert manager it should go to this service file under /etc/systemd/system and execute the rules in yaml file.
vi /etc/systemd/system/alertmanager.service
Please let me know where could I go and create my service file in MAC