[tahoe-dev] [tahoe-lafs] #961: There are no init scripts included in the Ubuntu apt-get install for tahoe-lafs
tahoe-lafs
trac at allmydata.org
Sat Feb 20 17:49:19 PST 2010
#961: There are no init scripts included in the Ubuntu apt-get install for
tahoe-lafs
-------------------------+--------------------------------------------------
Reporter: stott | Owner: somebody
Type: enhancement | Status: new
Priority: minor | Milestone: eventually
Component: packaging | Version: 1.5.0
Keywords: init | Launchpad_bug:
-------------------------+--------------------------------------------------
Comment(by USSJoin):
So I just spent a few hours trying to write an upstart (the new ubuntu
replacement for init.d) script for Tahoe. It appears not to be possible,
because the Tahoe daemon forks in such a way that the initctl processes
can't follow it (with either the "expect daemon" or "expect fork"
stanzas).
However, there's an easy workaround I've found, that I'm now using:
ln -s /usr/local/bin/tahoe /etc/init.d/tahoe
This *does* require that the "root" user be able to run tahoe, which
requires an
ln -s /path/to/your/.tahoe /root/.tahoe
But that's also required by any (theoretical) upstart script.
--
Ticket URL: <http://allmydata.org/trac/tahoe/ticket/961#comment:1>
tahoe-lafs <http://allmydata.org>
secure decentralized file storage grid
More information about the tahoe-dev
mailing list