Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 32676 Details for
Bug 50872
Proxy cache suited for Gentoo packages
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch for replicators daemon code to work with my init script
http-replicator-2.0-init-gentoo-patch (text/plain), 1.20 KB, created by
Tom P.
on 2004-06-04 20:18:38 UTC
(
hide
)
Description:
patch for replicators daemon code to work with my init script
Filename:
MIME Type:
Creator:
Tom P.
Created:
2004-06-04 20:18:38 UTC
Size:
1.20 KB
patch
obsolete
>--- http-replicator-2.0/http-replicator-2.0-orig/init 2004-05-01 11:26:43.000000000 -0500 >+++ http-replicator-2.0/debian/init 2004-05-21 03:40:27.000000000 -0500 >@@ -38,7 +38,7 @@ > > def start (): > >- print 'Starting HTTP proxy:', >+# print 'Starting HTTP proxy:', > if os.path.isfile(PID) and os.path.getsize(PID): # pidfile exists and is not empty > print 'already running' > return 1 # error >@@ -50,6 +50,7 @@ > > os.chdir(DIR) # change into cache dir > os.setsid() # remove process from the controlling terminal >+ os.setgid(pwd.getpwnam(USER)[3]) # change gid > os.setuid(pwd.getpwnam(USER)[2]) # change uid > os.umask(022) # set umask to -rw-r--r-- > >@@ -74,7 +75,7 @@ > except: > print 'error:', sys.exc_info()[1] > else: >- print 'http-replicator.' >+# print 'http-replicator.' > return 0 > > return 1 >@@ -87,7 +88,7 @@ > > def stop (): > >- print 'Stopping HTTP proxy:', >+# print 'Stopping HTTP proxy:', > if not os.path.isfile(PID) or not os.path.getsize(PID): # pidfile does not exist or is empty > print 'not running' > return 0 # success >@@ -101,7 +102,7 @@ > except: > print 'error:', sys.exc_info()[1] > else: >- print 'http-replicator.' >+# print 'http-replicator.' > return 0 # success > > return 1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 50872
:
31285
|
31286
|
31288
|
31289
|
31393
|
31571
|
31572
|
31573
|
32673
|
32674
|
32675
|
32676
|
32677
|
37148
|
43011
|
43012
|
43013
|
43014