4 | | A brief discussion of the debconf-hack feature: |
| 4 | == NOTES == |
| 5 | |
| 6 | You're not support to divert Upstart scripts [http://upstart.ubuntu.com/cookbook/#symbolic-links-don-t-work-in-etc-init] because symlinks aren't supposed to work. In reality, they do work, they just break inotify. The end result is that depending on how the file is moved out of the way, upstart may notice and decide to disable the job. In reality, so far it seems to work, but this snippet in the postinst (AFTER the #DEBHELPER# tag, so it runs after c-p-d) should DTRT: |
| 7 | |
| 8 | |
| 9 | {{{ |
| 10 | if ! status lightdm >/dev/null 2>&1; then |
| 11 | # I hope this doesn't break the world. |
| 12 | initctl reload-configuration |
| 13 | fi |
| 14 | }}} |
| 15 | |
| 16 | == A brief discussion of the debconf-hack feature == |