Closed Lendar closed 9 years ago
You might want to add a force: True in there so it gets updated if it exists.
@iggy you're right, this fix should prevent crash if it is applied to existing symlink.
By the way, other states need the same fix.
My use case: I have Ubuntu 14.04, and I run just one state: gitlab.runner
on micro instance. But I guess most people have different use case. 10+ states are run, one of the states writes file to /etc/init, so upstart scans the whole dir and finds the symlink.
Thanks for the fix.
If you see other formulas that do the same thing, open issues/PRs for those.
https://bugs.launchpad.net/upstart/+bug/665022/comments/3
This commit fixes error: