On Wed, 06 May 2015, Arto Jantunen wrote:

> Peter Palfrader <wea...@debian.org> writes:
> 
> > On Wed, 06 May 2015, Arto Jantunen wrote:
> >
> >> ++Type = forking
> >
> > I'm not sure why we'd continue to detach when running under systemd.
> 
> My plan was to do this in stages, starting with a service file that
> works the same way as the current init script, working with the same
> configuration that is currently used. I was planning to move to
> Type=notify + User=debian-tor + RuntimeDirectory=/var/run/tor in the
> service file, and a separate config instead of the current
> tor-service-defaults-torrc (without PidFile, RunAsDaemon and User) as
> the next step after that.

I assume moving the User to the service file would work only because we
give Tor CAP_NET_BIND_SERVICE, right?

Why would we want to set RuntimeDirectory?

Having Type=notify instead of simple will require modifying Tor
accordingly, correct?

Also, purely stylistic, I think I'd prefer we make our own service file
in debian/ rather than patching upstream's.

Thanks for your help,
weasel
-- 
                           |  .''`.       ** Debian **
      Peter Palfrader      | : :' :      The  universal
 http://www.palfrader.org/ | `. `'      Operating System
                           |   `-    http://www.debian.org/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to