OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 19-Jan-2007 10:03:44
Branch: HEAD Handle: 2007011909034300
Modified files:
openpkg-src/bittorrent rc.bittorrent
Log:
added missing %restart target used in %post of the spec
Summary:
Revision Changes Path
1.7 +5 -0 openpkg-src/bittorrent/rc.bittorrent
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/bittorrent/rc.bittorrent
============================================================================
$ cvs diff -u -r1.6 -r1.7 rc.bittorrent
--- openpkg-src/bittorrent/rc.bittorrent 3 Nov 2006 19:42:39 -0000
1.6
+++ openpkg-src/bittorrent/rc.bittorrent 19 Jan 2007 09:03:43 -0000
1.7
@@ -55,6 +55,11 @@
sleep 2
rm -f $bittorrent_pidfile 2>/dev/null || true
+%restart -u @l_rusr@
+ rcService bittorrent enable yes || exit 0
+ rcService bittorrent active no && exit 0
+ rc bittorrent stop start
+
%daily -u @l_susr@
rcService bittorrent enable yes || exit 0
shtool rotate -f \
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]