#2382 closed enhancement (wontfix)

hooks (external)

Reported by: lpirl Owned by:
Priority: normal Milestone: undecided
Component: code-nodeadmin Version: 1.10.0
Keywords: hooks extensibility Cc:
Launchpad Bug:

Description

I think it would be useful to have hooks similar to the ones git offers. This way, administrators can cleanly add functionality they need that does not belong to Tahoe or that is not yet integrated.

Examples would be to un/mount something to the shares directory upon stop/start of a node, calling a uPnP client upon start/stop etc.

There are probably more possibilities for hooks or - at least - more detailed ones like "pre start", "post start", "pre stop", "post stop".

Change History (2)

comment:1 Changed at 2015-02-09T17:13:13Z by daira

  • Component changed from unknown to code-nodeadmin
  • Keywords hooks extensibility added

comment:2 Changed at 2020-01-20T20:52:34Z by exarkun

  • Resolution set to wontfix
  • Status changed from new to closed

Examples would be to un/mount something to the shares directory upon stop/start of a node, calling a uPnP client upon start/stop etc.

Sounds like the kind of thing you could easily do with your supervisor... eg systemd. Implementing this functionality in Tahoe-LAFS would duplicate that functionality in some unique way which admins need to learn and Tahoe-LAFS maintainers need to maintain.

Note: See TracTickets for help on using tickets.