Apollo icon indicating copy to clipboard operation
Apollo copied to clipboard

Handle systemd service file changes / reloads correctly

Open tayzlor opened this issue 10 years ago • 1 comments

At the moment if you change a .service file and try and restart the service you'll receive a warning like -

Warning: marathon.service changed on disk. Run 'systemctl daemon-reload' to reload units.

Running systemctl daemon-reload and then systemctl restart marathon fixes that - we just need to build that into the ansible playbooks

tayzlor avatar Jan 04 '16 14:01 tayzlor

we could try to ensure enabled (not started) for every service on tasks and only start them by notifying reload-daemon restart-service

enxebre avatar Jan 08 '16 12:01 enxebre