[Commotion-admin] [commotion-apps] fixed bug where obsolete service files werent being deleted when service... (#6)

dismantl notifications at github.com
Thu Jul 25 16:05:51 UTC 2013


... is updated

to test:
1) create a service w/ web interface, where service IP address is 127.0.0.1 and Port field is blank. You should see a file in /etc/avahi/services/ called 127_460_460_461.service.
2) Log in as admin, and edit the service in the web interface. Add '80' to the Port field, and click submit. In the /etc/avahi/services directory, the old file 127_460_460_461.service should no longer be there, and 127_460_460_46180.service should be there instead.
You can merge this Pull Request by running:

  git pull https://github.com/opentechinstitute/commotion-apps service-delete-fix

Or you can view, comment on it, or merge it online at:

  https://github.com/opentechinstitute/commotion-apps/pull/6

-- Commit Summary --

  * fixed bug where obsolete service files werent being deleted when service is updated

-- File Changes --

    M lua/luci/controller/commotion/apps_controller.lua (22)

-- Patch Links --

https://github.com/opentechinstitute/commotion-apps/pull/6.patch
https://github.com/opentechinstitute/commotion-apps/pull/6.diff

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20130725/9b7874e8/attachment.html>


More information about the Commotion-admin mailing list