Systemd services remain enabled despite install mode
DavidWittman opened this issue · 0 comments
DavidWittman commented
When running the master
install mode, the mesos-slave
services remain enabled in systemd (more specifically, the file at /etc/systemd/system/multi-user.target.wants/mesos-slave.service
still exists), and vice versa. On a reboot, the system will continuously try to restart these services which should not be running.
The following task (and a similar one for disabling mesos-master) should fix this issue. I'll open a PR after some additional testing.
service: name=mesos-slave enabled=no
when: mesos_install_mode == "master"