* updated yet more dir-less .cache DEPs
[t2sde.git] / package / develop / subversion / svnserve.init
blob703c99946b81145b1afbc1dd3555f0445193a9a4
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/subversion/svnserve.init
3 # Copyright (C) 2004 - 2022 The T2 SDE Project
4 # Copyright (C) 1998 - 2003 ROCK Linux Project
5
6 # This Copyright note is generated by scripts/Create-CopyPatch,
7 # more information can be found in the files COPYING and README.
8
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License version 2.
11 # --- T2-COPYRIGHT-NOTE-END ---
13 # ROCK Linux /etc/rc.d/init.d/httpd
15 # Desc: The lightweight Subversion (svn://) server
16 # Runlevel: 60 rcX
19 SVNHOME="/home/svn"
21 main_begin
23     block_begin(start, `Starting svn:// server (subversion)')
24         # the svnserve process must (normally) run under the same $UID
25         # as the apache process ...
26         check(`su http -c "D_bindir/svnserve -d -R -r $SVNHOME"')
27     block_end
29     block_begin(stop, `Stopping svn:// server (subversion)')
30         check(`killall D_bindir/svnserve')
31     block_end
33 main_end