Discussion:
upstart service scripts for svnserve?
K Richard Pixley
2017-03-15 23:01:31 UTC
Permalink
Where can I find service scripts for debian/ubuntu for starting svnserve
as a system service?

This should be in the documentation, I'm thinking, given how many
distros have left xinitd for upstart. I'm surprised that it's not there
already.

--rich
Nico Kadel-Garcia
2017-03-16 09:29:43 UTC
Permalink
Post by K Richard Pixley
Where can I find service scripts for debian/ubuntu for starting svnserve
as a system service?
This should be in the documentation, I'm thinking, given how many
distros have left xinitd for upstart. I'm surprised that it's not there
already.
--rich
They've been switching much more to systemd. I'd look in the latest
published package from your favorite Debian or Ubuntu repository, and
use "dpkg" to get a list of its files.
Branko Čibej
2017-03-16 10:00:09 UTC
Permalink
Post by Nico Kadel-Garcia
Post by K Richard Pixley
Where can I find service scripts for debian/ubuntu for starting svnserve
as a system service?
This should be in the documentation, I'm thinking, given how many
distros have left xinitd for upstart. I'm surprised that it's not there
already.
--rich
They've been switching much more to systemd. I'd look in the latest
published package from your favorite Debian or Ubuntu repository, and
use "dpkg" to get a list of its files.
Indeed; the Subversion project publishes only source code. Packaging,
init scripts etc. are done by distro maintainers.

It would actually be counter-productive for the project to provide SysV
init, upstart or systemd scripts, since every distro has different rules
and structure for these things.

-- Brane
Nico Kadel-Garcia
2017-03-16 10:50:44 UTC
Permalink
Post by Branko Čibej
Post by Nico Kadel-Garcia
Post by K Richard Pixley
Where can I find service scripts for debian/ubuntu for starting svnserve
as a system service?
This should be in the documentation, I'm thinking, given how many
distros have left xinitd for upstart. I'm surprised that it's not there
already.
--rich
They've been switching much more to systemd. I'd look in the latest
published package from your favorite Debian or Ubuntu repository, and
use "dpkg" to get a list of its files.
Indeed; the Subversion project publishes only source code. Packaging,
init scripts etc. are done by distro maintainers.
It would actually be counter-productive for the project to provide SysV
init, upstart or systemd scripts, since every distro has different rules
and structure for these things.
Also, I've had good success for.... roughly 10 years now with using
svn+ssh instead of directly exposing svnserve or using the HTTPS based
access. It does take key management, but helps protect people from the
longstanding risks of accidentally using the same passphrase for
svnserve or web access as for other services, and accidentally letting
the svn client store passphrases in clear text in $HOME/.subverison/.
K Richard Pixley
2017-03-17 16:58:40 UTC
Permalink
Post by Nico Kadel-Garcia
Post by K Richard Pixley
Where can I find service scripts for debian/ubuntu for starting svnserve
as a system service?
This should be in the documentation, I'm thinking, given how many
distros have left xinitd for upstart. I'm surprised that it's not there
already.
--rich
They've been switching much more to systemd. I'd look in the latest
published package from your favorite Debian or Ubuntu repository, and
use "dpkg" to get a list of its files.
Have. No joy.

--rich
Nico Kadel-Garcia
2017-03-18 05:44:50 UTC
Permalink
Post by K Richard Pixley
Post by Nico Kadel-Garcia
Post by K Richard Pixley
Where can I find service scripts for debian/ubuntu for starting svnserve
as a system service?
This should be in the documentation, I'm thinking, given how many
distros have left xinitd for upstart. I'm surprised that it's not there
already.
--rich
They've been switching much more to systemd. I'd look in the latest
published package from your favorite Debian or Ubuntu repository, and
use "dpkg" to get a list of its files.
Have. No joy.
*Really*? I'm surprised. Could it be in an ancilliary package,
"subversion-svnserve" or the like? I admit I've not been dealing with
Debian lately, and the HTTP based access to Subversion seems to be
more common.

You might consider just using "svn+ssh", maybe with a locked down SSH
daemon on another port, just to avoid the issue. I'm very sure that
*openssh* has systemd based init scripts suitable for tweaking.

Loading...