That’ll likely be a systemd unit file then, in /etc/systemd/system, likely called monitor.service
You need to edit that (using sudo nano /etc/systemd/system/monitor.service, then when you’re done reload the service with sudo systemctl daemon-reload