Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/prometheanfire:master commit in: sys-cluster/swift/, sys-cluster/swift/files/
Date: Tue, 01 Jan 2013 15:54:47
Message-Id: 1357055701.5824ec48d42cbd332aee573b37ca8b49ea551e72.prometheanfire@gentoo
1 commit: 5824ec48d42cbd332aee573b37ca8b49ea551e72
2 Author: Matthew Thode <mthode <AT> mthode <DOT> org>
3 AuthorDate: Tue Jan 1 15:55:01 2013 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 1 15:55:01 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/prometheanfire.git;a=commit;h=5824ec48
7
8 should work :D
9
10 ---
11 sys-cluster/swift/Manifest | 8 +
12 sys-cluster/swift/files/swift-account.initd | 36 +
13 sys-cluster/swift/files/swift-container.initd | 36 +
14 sys-cluster/swift/files/swift-object.initd | 36 +
15 sys-cluster/swift/files/swift-proxy-server.initd | 838 --------------------
16 sys-cluster/swift/files/swift-proxy.initd | 57 ++
17 sys-cluster/swift/files/swift-storage-server.confd | 775 ------------------
18 sys-cluster/swift/files/swift-storage-server.initd | 60 --
19 sys-cluster/swift/swift-1.7.4.ebuild | 60 +--
20 9 files changed, 181 insertions(+), 1725 deletions(-)
21
22 diff --git a/sys-cluster/swift/Manifest b/sys-cluster/swift/Manifest
23 new file mode 100644
24 index 0000000..ddb42e2
25 --- /dev/null
26 +++ b/sys-cluster/swift/Manifest
27 @@ -0,0 +1,8 @@
28 +AUX swift-account.initd 881 SHA256 7278241b34cea3d3544bcf3d64f406e5cc37250093f51cec160c7ec265f122a4 SHA512 f9bc66fd410cbc306075377ca89cf50c8a33630b2cf4020294f33fe83f3531eee10c08997f910c4ec6148925e6f36aab0cd56491770cdfd6ffcaaf4e8eeadffc WHIRLPOOL d51b2de925235f0973163728d1c0bec15bd201c5786c5a38ef7d655c24aef56b63a0c912e77a47e6b9afd194c9dc325695f78c45a82196558ef583a8a7800a72
29 +AUX swift-container.initd 891 SHA256 82d61cfbe600f782e0f408366be5283e52ecb503dfa24ef2b56080bb3fae997c SHA512 82bc22570a57620b7497368de5a4b79d5ee87599e39ab9cd6ab5a28c606646ca2d4eb70f469acfcac3d51b2f3bb58e6386f033d1aee679d13366bac98999fafc WHIRLPOOL aa1dcaf9e21acab942d463f109eaaa099f9bebb638259db75956feadad1f0f0df530661e0bc469717aa6a9524c69f40efa0103ac076a31a34df2ddb42b738e1c
30 +AUX swift-object.initd 876 SHA256 a3ec074cd0ef70b3b641e86054519da3a4fa18a320bd91a7d6e18b9df9ef5cf0 SHA512 803165e74e1fb5326d8520444f968d2a987dca454f9b5347fd4ebe1ab5e95093641450596da2543be9485b11be350b47873c3a1887682cd025f85231cec2767a WHIRLPOOL f2fc932d4992771edb633332cc2f672c25828e25da677a0db4bd5b6c815f89fda623927a032f45c836574ee4402d632f7dc6dd41e67b2adba9882233ce106bec
31 +AUX swift-proxy.initd 1393 SHA256 5b8cfd787dd47468fef31e261ef9529db32e9a2c540c586f9f20b829cab51a4c SHA512 f45253ff68bfb6e5149c0823c5b9692b37e9037f0e12eca32c7c1a28f8877bcdc255a0efd461e170df5bebdae427dd13f312da43525d6e946e32366371362070 WHIRLPOOL c234643758ccf75b3843cd6a65bc3679370cef072eccea7b6470440c380bbe24a687eac6381ccf9a904985e367e4b45930184d0f6a6d1bb4ee6f830f379d5da2
32 +DIST swift-1.7.4.tar.gz 461286 SHA256 5c927cfd6aeba38689c1b8e0d1b6fd697999ad56012f6a4aff011d6018d55cd2 SHA512 c7527593beaede09a70e92b85823eb4661992a568377aea6254c7470dddf9ab64238361c84298b1c046c05abb781507bd7634fdff05d30c1e35e465d7f86cf78 WHIRLPOOL f78325e57a02a34e3f4a052778604115df71f2225861b6b4e9516c25d9b83d7bec7251de34da98f34618b7b586eaac747948192822f2998f3ddeb23fc12f999a
33 +EBUILD swift-1.7.4.ebuild 3147 SHA256 f113384a751927e24f1922fbfa58de8cd37a0c5842c8a7cab3fe799bcc0171ec SHA512 46ba6644a2b1bee7d551d9ed59db31f5bade28753e4a4bfaa6a0b746f50d21c4f1adc53a67ed90c54c0f1a5c1a44fefac6ffa76004f5a5ed6a20ce26094950d6 WHIRLPOOL 06148957d2d8eddd30ffb56aee611c34327e005d6c6e941c404eb2ca70f2669b480a943d0f1dc13e12c393686fa089de31142a0a5c33d676d8689202cfa84f69
34 +MISC ChangeLog 380 SHA256 b66d44e1c09f502aa77ecb43804d948b25876cda652c23a303fa9ba82b6575dd SHA512 c8ee612811758a02596ae00b0ad739fa3e828880a610bb60d49d8ba18f1810578f4d0cb738d43d2480ecb7a8e34bf2e642042f06d1cb9f2d1501868a2d68c52a WHIRLPOOL 30a86afe00b7365f693a22e4a1078c41f289d8d07975b157b2a1556e5bed075b08adb2d10bfb7bb38c266c0e24680bcbd978935afff686142a0c3c0c4c621625
35 +MISC metadata.xml 386 SHA256 7ec5608fefa5f710bb2feeee1cf65c6d5d97c215e041ff996c05ab72096a048a SHA512 58521380599a366ccad1cc1da26d75e5356f55fe7d6ff2a25a5888fe34a4e18401429296e2e24100f4d33f9ff02123f14db7a3cc04833f8970c97be7451664b1 WHIRLPOOL 0e7f1c0f6b1dd7f3d3f30a652f819ddf6588f98f0b3a1239cd7ca8ae8f3e5d166b04ed652a019106d53d8faf59c3bdbb73d37a89dd3f70c009964d6fa6727da1
36
37 diff --git a/sys-cluster/swift/files/swift-account.initd b/sys-cluster/swift/files/swift-account.initd
38 new file mode 100644
39 index 0000000..6002820
40 --- /dev/null
41 +++ b/sys-cluster/swift/files/swift-account.initd
42 @@ -0,0 +1,36 @@
43 +#!/sbin/runscript
44 +# Copyright 1999-2013 Gentoo Foundation
45 +# Distributed under the terms of the GNU General Public License v2
46 +# $Header: $
47 +
48 +COMMAND=/usr/bin/swift-init
49 +PIDFILE=/var/run/swift/swift-account.pid
50 +
51 +depend() {
52 + need net
53 +}
54 +
55 +checkconfig() {
56 + if [ ! -r /etc/swift/swift.conf ]; then
57 + eerror "Missing required config file: /etc/swift/swift.conf"
58 + return 1
59 + fi
60 + if [ ! -r /etc/swift/account-server.conf ]; then
61 + eerror "Missing required config file: /etc/swift/account-server.conf"
62 + return 1
63 + fi
64 + return 0
65 +}
66 +
67 +start() {
68 + checkconfig || return $?
69 + ebegin "Starting ${SVCNAME}"
70 + start-stop-daemon --start --quiet -i --pidfile ${PIDFILE} ${COMMAND} -- account start
71 + eend $?
72 +}
73 +
74 +stop() {
75 + ebegin "Stopping ${SVCNAME}"
76 + start-stop-daemon --stop --quiet -i --pidfile ${PIDFILE} ${COMMAND} -- account stop
77 + eend $?
78 +}
79
80 diff --git a/sys-cluster/swift/files/swift-container.initd b/sys-cluster/swift/files/swift-container.initd
81 new file mode 100644
82 index 0000000..1ac9c80
83 --- /dev/null
84 +++ b/sys-cluster/swift/files/swift-container.initd
85 @@ -0,0 +1,36 @@
86 +#!/sbin/runscript
87 +# Copyright 1999-2013 Gentoo Foundation
88 +# Distributed under the terms of the GNU General Public License v2
89 +# $Header: $
90 +
91 +COMMAND=/usr/bin/swift-init
92 +PIDFILE=/var/run/swift/swift-container.pid
93 +
94 +depend() {
95 + need net
96 +}
97 +
98 +checkconfig() {
99 + if [ ! -r /etc/swift/swift.conf ]; then
100 + eerror "Missing required config file: /etc/swift/swift.conf"
101 + return 1
102 + fi
103 + if [ ! -r /etc/swift/container-server.conf ]; then
104 + eerror "Missing required config file: /etc/swift/container-server.conf"
105 + return 1
106 + fi
107 + return 0
108 +}
109 +
110 +start() {
111 + checkconfig || return $?
112 + ebegin "Starting ${SVCNAME}"
113 + start-stop-daemon --start --quiet -i --pidfile ${PIDFILE} ${COMMAND} -- container start
114 + eend $?
115 +}
116 +
117 +stop() {
118 + ebegin "Stopping ${SVCNAME}"
119 + start-stop-daemon --stop --quiet -i --pidfile ${PIDFILE} ${COMMAND} -- container stop
120 + eend $?
121 +}
122
123 diff --git a/sys-cluster/swift/files/swift-object.initd b/sys-cluster/swift/files/swift-object.initd
124 new file mode 100644
125 index 0000000..8092981
126 --- /dev/null
127 +++ b/sys-cluster/swift/files/swift-object.initd
128 @@ -0,0 +1,36 @@
129 +#!/sbin/runscript
130 +# Copyright 1999-2013 Gentoo Foundation
131 +# Distributed under the terms of the GNU General Public License v2
132 +# $Header: $
133 +
134 +COMMAND=/usr/bin/swift-init
135 +PIDFILE=/var/run/swift/swift-object.pid
136 +
137 +depend() {
138 + need net
139 +}
140 +
141 +checkconfig() {
142 + if [ ! -r /etc/swift/swift.conf ]; then
143 + eerror "Missing required config file: /etc/swift/swift.conf"
144 + return 1
145 + fi
146 + if [ ! -r /etc/swift/object-server.conf ]; then
147 + eerror "Missing required config file: /etc/swift/object-server.conf"
148 + return 1
149 + fi
150 + return 0
151 +}
152 +
153 +start() {
154 + checkconfig || return $?
155 + ebegin "Starting ${SVCNAME}"
156 + start-stop-daemon --start --quiet -i --pidfile ${PIDFILE} ${COMMAND} -- object start
157 + eend $?
158 +}
159 +
160 +stop() {
161 + ebegin "Stopping ${SVCNAME}"
162 + start-stop-daemon --stop --quiet -i --pidfile ${PIDFILE} ${COMMAND} -- object stop
163 + eend $?
164 +}
165
166 diff --git a/sys-cluster/swift/files/swift-proxy-server.initd b/sys-cluster/swift/files/swift-proxy-server.initd
167 deleted file mode 100644
168 index b899a09..0000000
169 --- a/sys-cluster/swift/files/swift-proxy-server.initd
170 +++ /dev/null
171 @@ -1,838 +0,0 @@
172 -
173 -
174 -
175 -<!DOCTYPE html>
176 -<html>
177 - <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# githubog: http://ogp.me/ns/fb/githubog#">
178 - <meta charset='utf-8'>
179 - <meta http-equiv="X-UA-Compatible" content="IE=edge">
180 - <title>openstack-overlay/sys-cluster/swift/files/swift-proxy-server.initd at master · hyves-org/openstack-overlay · GitHub</title>
181 - <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub" />
182 - <link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub" />
183 - <link rel="apple-touch-icon-precomposed" sizes="57x57" href="apple-touch-icon-114.png" />
184 - <link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114.png" />
185 - <link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-144.png" />
186 - <link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-icon-144.png" />
187 - <meta name="msapplication-TileImage" content="/windows-tile.png">
188 - <meta name="msapplication-TileColor" content="#ffffff">
189 -
190 -
191 -
192 - <link rel="icon" type="image/x-icon" href="/favicon.ico" />
193 -
194 - <meta content="authenticity_token" name="csrf-param" />
195 -<meta content="g0jvX3j6uTvQ+QokqxNdMhyLQBYXkHbzFBelaieIZek=" name="csrf-token" />
196 -
197 - <link href="https://a248.e.akamai.net/assets.github.com/assets/github-136f905f03a0a6ce0292d2e017a31c4fe548e2d0.css" media="screen" rel="stylesheet" type="text/css" />
198 - <link href="https://a248.e.akamai.net/assets.github.com/assets/github2-2326d6d1fbc034bffa9b37cad622815f40671037.css" media="screen" rel="stylesheet" type="text/css" />
199 -
200 -
201 -
202 - <script src="https://a248.e.akamai.net/assets.github.com/assets/frameworks-eee761b9d5e06efb064aaaf528c44ef8e1601e71.js" type="text/javascript"></script>
203 - <script src="https://a248.e.akamai.net/assets.github.com/assets/github-69e35ef6c3d5b779e39f65bd04a4e43ff670991e.js" type="text/javascript"></script>
204 -
205 -
206 - <link rel='permalink' href='/hyves-org/openstack-overlay/blob/271137305359f85d0f21a85e5387fba068b26e88/sys-cluster/swift/files/swift-proxy-server.initd'>
207 - <meta property="og:title" content="openstack-overlay"/>
208 - <meta property="og:type" content="githubog:gitrepository"/>
209 - <meta property="og:url" content="https://github.com/hyves-org/openstack-overlay"/>
210 - <meta property="og:image" content="https://secure.gravatar.com/avatar/c5cfe5b5d4533c3637cd4315ff18e834?s=420&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png"/>
211 - <meta property="og:site_name" content="GitHub"/>
212 - <meta property="og:description" content="openstack-overlay - An overlay with the required ebuilds to install and run Openstack on Gentoo Linux"/>
213 -
214 - <meta name="description" content="openstack-overlay - An overlay with the required ebuilds to install and run Openstack on Gentoo Linux" />
215 -
216 - <link href="https://github.com/hyves-org/openstack-overlay/commits/master.atom" rel="alternate" title="Recent Commits to openstack-overlay:master" type="application/atom+xml" />
217 -
218 - </head>
219 -
220 -
221 - <body class="logged_out page-blob vis-public env-production ">
222 - <div id="wrapper">
223 -
224 -
225 -
226 -
227 -
228 -
229 -
230 -
231 - <div class="header header-logged-out">
232 - <div class="container clearfix">
233 -
234 - <a class="header-logo-wordmark" href="https://github.com/">
235 - <img alt="GitHub" class="github-logo-4x" height="30" src="https://a248.e.akamai.net/assets.github.com/images/modules/header/logov7@××.png?1340659530" />
236 - <img alt="GitHub" class="github-logo-4x-hover" height="30" src="https://a248.e.akamai.net/assets.github.com/images/modules/header/logov7@××××××××.png?1340659530" />
237 - </a>
238 -
239 -
240 -<ul class="top-nav">
241 - <li class="explore"><a href="https://github.com/explore">Explore GitHub</a></li>
242 - <li class="search"><a href="https://github.com/search">Search</a></li>
243 - <li class="features"><a href="https://github.com/features">Features</a></li>
244 - <li class="blog"><a href="https://github.com/blog">Blog</a></li>
245 -</ul>
246 -
247 -
248 - <div class="header-actions">
249 - <a class="button primary classy" href="https://github.com/signup">Sign up for free</a>
250 - <a class="button classy" href="https://github.com/login?return_to=%2Fhyves-org%2Fopenstack-overlay%2Fblob%2Fmaster%2Fsys-cluster%2Fswift%2Ffiles%2Fswift-proxy-server.initd">Sign in</a>
251 - </div>
252 -
253 - </div>
254 - </div>
255 -
256 -
257 -
258 -
259 -
260 -
261 -
262 - <div class="site hfeed" itemscope itemtype="http://schema.org/WebPage">
263 - <div class="hentry">
264 -
265 - <div class="pagehead repohead instapaper_ignore readability-menu">
266 - <div class="container">
267 - <div class="title-actions-bar">
268 -
269 -
270 -
271 - <ul class="pagehead-actions">
272 -
273 -
274 - <li>
275 - <span class="star-button"><a href="/login?return_to=%2Fhyves-org%2Fopenstack-overlay" class="minibutton js-toggler-target entice tooltipped leftwards" title="You must be signed in to use this feature" rel="nofollow"><span class="mini-icon mini-icon-star"></span>Star</a><a class="social-count js-social-count" href="/hyves-org/openstack-overlay/stargazers">13</a></span>
276 - </li>
277 - <li>
278 - <a href="/login?return_to=%2Fhyves-org%2Fopenstack-overlay" class="minibutton js-toggler-target fork-button entice tooltipped leftwards" title="You must be signed in to fork a repository" rel="nofollow"><span class="mini-icon mini-icon-fork"></span>Fork</a><a href="/hyves-org/openstack-overlay/network" class="social-count">8</a>
279 - </li>
280 - </ul>
281 -
282 - <h1 itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="entry-title public">
283 - <span class="repo-label"><span>public</span></span>
284 - <span class="mega-icon mega-icon-public-repo"></span>
285 - <span class="author vcard">
286 - <a href="/hyves-org" class="url fn" itemprop="url" rel="author">
287 - <span itemprop="title">hyves-org</span>
288 - </a></span> /
289 - <strong><a href="/hyves-org/openstack-overlay" class="js-current-repository">openstack-overlay</a></strong>
290 - </h1>
291 - </div>
292 -
293 -
294 -
295 - <ul class="tabs">
296 - <li><a href="/hyves-org/openstack-overlay" class="selected" highlight="repo_sourcerepo_downloadsrepo_commitsrepo_tagsrepo_branches">Code</a></li>
297 - <li><a href="/hyves-org/openstack-overlay/network" highlight="repo_network">Network</a></li>
298 - <li><a href="/hyves-org/openstack-overlay/pulls" highlight="repo_pulls">Pull Requests <span class='counter'>0</span></a></li>
299 -
300 - <li><a href="/hyves-org/openstack-overlay/issues" highlight="repo_issues">Issues <span class='counter'>4</span></a></li>
301 -
302 -
303 -
304 - <li><a href="/hyves-org/openstack-overlay/graphs" highlight="repo_graphsrepo_contributors">Graphs</a></li>
305 -
306 -
307 - </ul>
308 -
309 -<div class="tabnav">
310 -
311 - <span class="tabnav-right">
312 - <ul class="tabnav-tabs">
313 - <li><a href="/hyves-org/openstack-overlay/tags" class="tabnav-tab" highlight="repo_tags">Tags <span class="counter blank">0</span></a></li>
314 - </ul>
315 -
316 - </span>
317 -
318 - <div class="tabnav-widget scope">
319 -
320 -
321 - <div class="context-menu-container js-menu-container js-context-menu">
322 - <a href="#"
323 - class="minibutton bigger switcher js-menu-target js-commitish-button btn-branch repo-tree"
324 - data-hotkey="w"
325 - data-ref="master">
326 - <span><em class="mini-icon mini-icon-branch"></em><i>branch:</i> master</span>
327 - </a>
328 -
329 - <div class="context-pane commitish-context js-menu-content">
330 - <a href="#" class="close js-menu-close"><span class="mini-icon mini-icon-remove-close"></span></a>
331 - <div class="context-title">Switch branches/tags</div>
332 - <div class="context-body pane-selector commitish-selector js-navigation-container">
333 - <div class="filterbar">
334 - <input type="text" id="context-commitish-filter-field" class="js-navigation-enable js-filterable-field js-ref-filter-field" placeholder="Filter branches/tags">
335 - <ul class="tabs">
336 - <li><a href="#" data-filter="branches" class="selected">Branches</a></li>
337 - <li><a href="#" data-filter="tags">Tags</a></li>
338 - </ul>
339 - </div>
340 -
341 - <div class="js-filter-tab js-filter-branches">
342 - <div data-filterable-for="context-commitish-filter-field" data-filterable-type=substring>
343 - <div class="commitish-item branch-commitish selector-item js-navigation-item js-navigation-target selected">
344 - <span class="mini-icon mini-icon-confirm"></span>
345 - <h4>
346 - <a href="/hyves-org/openstack-overlay/blob/master/sys-cluster/swift/files/swift-proxy-server.initd" class="js-navigation-open" data-name="master" rel="nofollow">master</a>
347 - </h4>
348 - </div>
349 - </div>
350 - <div class="no-results">Nothing to show</div>
351 -
352 -
353 - </div>
354 -
355 - <div class="js-filter-tab js-filter-tags filter-tab-empty" style="display:none">
356 - <div data-filterable-for="context-commitish-filter-field" data-filterable-type=substring>
357 - </div>
358 - <div class="no-results">Nothing to show</div>
359 - </div>
360 -
361 - </div>
362 - </div><!-- /.commitish-context-context -->
363 - </div>
364 - </div> <!-- /.scope -->
365 -
366 - <ul class="tabnav-tabs">
367 - <li><a href="/hyves-org/openstack-overlay" class="selected tabnav-tab" highlight="repo_source">Files</a></li>
368 - <li><a href="/hyves-org/openstack-overlay/commits/master" class="tabnav-tab" highlight="repo_commits">Commits</a></li>
369 - <li><a href="/hyves-org/openstack-overlay/branches" class="tabnav-tab" highlight="repo_branches" rel="nofollow">Branches <span class="counter ">1</span></a></li>
370 - </ul>
371 -
372 -</div>
373 -
374 -
375 -
376 -
377 -
378 -
379 -
380 - </div>
381 - </div><!-- /.repohead -->
382 -
383 - <div id="js-repo-pjax-container" class="container context-loader-container" data-pjax-container>
384 -
385 -
386 -
387 -<!-- blob contrib key: blob_contributors:v21:e884cf14b8a3f7a8f7641b174c8aa33f -->
388 -<!-- blob contrib frag key: views10/v8/blob_contributors:v21:e884cf14b8a3f7a8f7641b174c8aa33f -->
389 -
390 -<div id="slider">
391 -
392 -
393 - <div class="frame-meta">
394 -
395 - <p title="This is a placeholder element" class="js-history-link-replace hidden"></p>
396 - <div class="breadcrumb">
397 - <span class='bold'><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/hyves-org/openstack-overlay" class="js-slide-to" data-direction="back" itemscope="url"><span itemprop="title">openstack-overlay</span></a></span></span> / <span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/hyves-org/openstack-overlay/tree/master/sys-cluster" class="js-slide-to" data-direction="back" itemscope="url"><span itemprop="title">sys-cluster</span></a></span> / <span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/hyves-org/openstack-overlay/tree/master/sys-cluster/swift" class="js-slide-to" data-direction="back" itemscope="url"><span itemprop="title">swift</span></a></span> / <span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/hyves-org/openstack-overlay/tree/master/sys-cluster/swift/files" class="js-slide-to" data-direction="back" itemscope="url"><span itemprop="title">files</span></a></span> /
398 <strong class="final-path">swift-proxy-server.initd</strong> <span class="js-clippy mini-icon mini-icon-clippy " data-clipboard-text="sys-cluster/swift/files/swift-proxy-server.initd" data-copied-hint="copied!" data-copy-hint="copy to clipboard"></span>
399 - </div>
400 -
401 - <a href="/hyves-org/openstack-overlay/find/master" class="js-slide-to" data-hotkey="t" style="display:none">Show File Finder</a>
402 -
403 -
404 - <div class="commit file-history-tease">
405 - <img class="main-avatar" height="24" src="https://secure.gravatar.com/avatar/5e727048d87e750a1b21c6670acea0c3?s=140&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="24" />
406 - <span class="author"><a href="/lensen" rel="author">lensen</a></span>
407 - <time class="js-relative-date" datetime="2012-09-11T01:39:08-07:00" title="2012-09-11 01:39:08">September 11, 2012</time>
408 - <div class="commit-title">
409 - <a href="/hyves-org/openstack-overlay/commit/1caf08757b6494004c1f01939765ac4202000b12" class="message">Added reload, restart and status opts to init script</a>
410 - </div>
411 -
412 - <div class="participation">
413 - <p class="quickstat"><a href="#blob_contributors_box" rel="facebox"><strong>1</strong> contributor</a></p>
414 -
415 - </div>
416 - <div id="blob_contributors_box" style="display:none">
417 - <h2>Users on GitHub who have contributed to this file</h2>
418 - <ul class="facebox-user-list">
419 - <li>
420 - <img height="24" src="https://secure.gravatar.com/avatar/5e727048d87e750a1b21c6670acea0c3?s=140&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="24" />
421 - <a href="/lensen">lensen</a>
422 - </li>
423 - </ul>
424 - </div>
425 - </div>
426 -
427 -
428 - </div><!-- ./.frame-meta -->
429 -
430 - <div class="frames">
431 - <div class="frame" data-permalink-url="/hyves-org/openstack-overlay/blob/271137305359f85d0f21a85e5387fba068b26e88/sys-cluster/swift/files/swift-proxy-server.initd" data-title="openstack-overlay/sys-cluster/swift/files/swift-proxy-server.initd at master · hyves-org/openstack-overlay · GitHub" data-type="blob">
432 -
433 - <div id="files" class="bubble">
434 - <div class="file">
435 - <div class="meta">
436 - <div class="info">
437 - <span class="icon"><b class="mini-icon mini-icon-text-file"></b></span>
438 - <span class="mode" title="File Mode">executable file</span>
439 - <span>65 lines (49 sloc)</span>
440 - <span>1.491 kb</span>
441 - </div>
442 - <ul class="button-group actions">
443 - <li>
444 - <a class="grouped-button minibutton bigger lighter js-entice" href=""
445 - data-entice="You must be signed in and on a branch to make or propose changes">Edit</a>
446 - </li>
447 - <li><a href="/hyves-org/openstack-overlay/raw/master/sys-cluster/swift/files/swift-proxy-server.initd" class="minibutton grouped-button bigger lighter" id="raw-url">Raw</a></li>
448 - <li><a href="/hyves-org/openstack-overlay/blame/master/sys-cluster/swift/files/swift-proxy-server.initd" class="minibutton grouped-button bigger lighter">Blame</a></li>
449 - <li><a href="/hyves-org/openstack-overlay/commits/master/sys-cluster/swift/files/swift-proxy-server.initd" class="minibutton grouped-button bigger lighter" rel="nofollow">History</a></li>
450 - </ul>
451 - </div>
452 - <div class="data type-text">
453 - <table cellpadding="0" cellspacing="0" class="lines">
454 - <tr>
455 - <td>
456 - <pre class="line_numbers"><span id="L1" rel="#L1">1</span>
457 -<span id="L2" rel="#L2">2</span>
458 -<span id="L3" rel="#L3">3</span>
459 -<span id="L4" rel="#L4">4</span>
460 -<span id="L5" rel="#L5">5</span>
461 -<span id="L6" rel="#L6">6</span>
462 -<span id="L7" rel="#L7">7</span>
463 -<span id="L8" rel="#L8">8</span>
464 -<span id="L9" rel="#L9">9</span>
465 -<span id="L10" rel="#L10">10</span>
466 -<span id="L11" rel="#L11">11</span>
467 -<span id="L12" rel="#L12">12</span>
468 -<span id="L13" rel="#L13">13</span>
469 -<span id="L14" rel="#L14">14</span>
470 -<span id="L15" rel="#L15">15</span>
471 -<span id="L16" rel="#L16">16</span>
472 -<span id="L17" rel="#L17">17</span>
473 -<span id="L18" rel="#L18">18</span>
474 -<span id="L19" rel="#L19">19</span>
475 -<span id="L20" rel="#L20">20</span>
476 -<span id="L21" rel="#L21">21</span>
477 -<span id="L22" rel="#L22">22</span>
478 -<span id="L23" rel="#L23">23</span>
479 -<span id="L24" rel="#L24">24</span>
480 -<span id="L25" rel="#L25">25</span>
481 -<span id="L26" rel="#L26">26</span>
482 -<span id="L27" rel="#L27">27</span>
483 -<span id="L28" rel="#L28">28</span>
484 -<span id="L29" rel="#L29">29</span>
485 -<span id="L30" rel="#L30">30</span>
486 -<span id="L31" rel="#L31">31</span>
487 -<span id="L32" rel="#L32">32</span>
488 -<span id="L33" rel="#L33">33</span>
489 -<span id="L34" rel="#L34">34</span>
490 -<span id="L35" rel="#L35">35</span>
491 -<span id="L36" rel="#L36">36</span>
492 -<span id="L37" rel="#L37">37</span>
493 -<span id="L38" rel="#L38">38</span>
494 -<span id="L39" rel="#L39">39</span>
495 -<span id="L40" rel="#L40">40</span>
496 -<span id="L41" rel="#L41">41</span>
497 -<span id="L42" rel="#L42">42</span>
498 -<span id="L43" rel="#L43">43</span>
499 -<span id="L44" rel="#L44">44</span>
500 -<span id="L45" rel="#L45">45</span>
501 -<span id="L46" rel="#L46">46</span>
502 -<span id="L47" rel="#L47">47</span>
503 -<span id="L48" rel="#L48">48</span>
504 -<span id="L49" rel="#L49">49</span>
505 -<span id="L50" rel="#L50">50</span>
506 -<span id="L51" rel="#L51">51</span>
507 -<span id="L52" rel="#L52">52</span>
508 -<span id="L53" rel="#L53">53</span>
509 -<span id="L54" rel="#L54">54</span>
510 -<span id="L55" rel="#L55">55</span>
511 -<span id="L56" rel="#L56">56</span>
512 -<span id="L57" rel="#L57">57</span>
513 -<span id="L58" rel="#L58">58</span>
514 -<span id="L59" rel="#L59">59</span>
515 -<span id="L60" rel="#L60">60</span>
516 -<span id="L61" rel="#L61">61</span>
517 -<span id="L62" rel="#L62">62</span>
518 -<span id="L63" rel="#L63">63</span>
519 -<span id="L64" rel="#L64">64</span>
520 -</pre>
521 - </td>
522 - <td width="100%">
523 - <div class="highlight"><pre><div class='line' id='LC1'>#!/sbin/runscript</div><div class='line' id='LC2'># Copyright 1999-2011 Gentoo Foundation</div><div class='line' id='LC3'># Distributed under the terms of the GNU General Public License v2</div><div class='line' id='LC4'># $Header: $</div><div class='line' id='LC5'>#</div><div class='line' id='LC6'># Author: Cor Cornelisse &lt;corcornelisse@×××××.com&gt;</div><div class='line' id='LC7'><br/></div><div class='line' id='LC8'>depend() {</div><div class='line' id='LC9'> need net</div><div class='line' id='LC10'>}</div><div class='line' id='LC11'><br/></div><div class='line' id='LC12'>opts=&quot;reload&quot;</div><div class='line' id='LC13'><br/></div><div class='line' id='LC14'>BASENAME=$(echo $SVCNAME | cut -d &#39;-&#39; -f 1)</div><div class='line' id='LC15'>SERVERNAME=$(echo $SVCNAME | cut -c 7-)</div><div class='line' id='LC16'><br/></div><div class='line' id='LC17'>checkconfig() {</div><div class='line' id='LC1
524 8'> if [ ! -r /etc/${BASENAME}/${SERVICENAME} ]; then</div><div class='line' id='LC19'> eerror &quot;No config file found: /etc/${BASENAME}/${SERVICENAME}&quot;</div><div class='line' id='LC20'> return 1</div><div class='line' id='LC21'> fi</div><div class='line' id='LC22'> return 0</div><div class='line' id='LC23'>}</div><div class='line' id='LC24'><br/></div><div class='line' id='LC25'><br/></div><div class='line' id='LC26'>start() {</div><div class='line' id='LC27'> checkconfig || return $?</div><div class='line' id='LC28'><br/></div><div class='line' id='LC29'> ebegin &quot;Starting ${SVCNAME}&quot;</div><div class='line' id='LC30'> start-stop-daemon --start --pidfile &quot;/var/run/${BASENAME}/${SERVERNAME}.pid&quot; \</div><div class='line' id='LC31'> --exec /usr/bin/${BASENAME}-init -- ${SERVERNAME} start</div><div class='line' id='LC32'> eend $? &quot;Failed to start ${SVCNAME}&quot;</div><div class='line' id='LC33'>}</div><div class='line' id='LC34'><br/></div><div
525 class='line' id='LC35'>stop() {</div><div class='line' id='LC36'> checkconfig || return $?</div><div class='line' id='LC37'><br/></div><div class='line' id='LC38'> ebegin &quot;Stopping ${SVCNAME}&quot;</div><div class='line' id='LC39'> start-stop-daemon --stop --pidfile &quot;/var/run/${BASENAME}/${SERVERNAME}.pid&quot; \</div><div class='line' id='LC40'> --exec /usr/bin/${BASENAME}-init -- ${SERVERNAME} stop </div><div class='line' id='LC41'> eend $? &quot;Failed to stop ${SVCNAME}&quot;</div><div class='line' id='LC42'>}</div><div class='line' id='LC43'><br/></div><div class='line' id='LC44'>reload() {</div><div class='line' id='LC45'> checkconfig || return $?</div><div class='line' id='LC46'><br/></div><div class='line' id='LC47'> ebegin &quot;Reloading ${SVCNAME}&quot;</div><div class='line' id='LC48'> start-stop-daemon --exec /usr/bin/${BASENAME}-init -- ${SERVERNAME} reload</div><div class='line' id='LC49'> eend $? &quot;Failed to reload ${SVCNAME}&quot;</div><div class
526 ='line' id='LC50'>}</div><div class='line' id='LC51'><br/></div><div class='line' id='LC52'>restart() {</div><div class='line' id='LC53'> checkconfig || return $?</div><div class='line' id='LC54'><br/></div><div class='line' id='LC55'> ebegin &quot;Restarting ${SVCNAME}&quot;</div><div class='line' id='LC56'> start-stop-daemon --exec /usr/bin/${BASENAME}-init -- ${SERVERNAME} restart</div><div class='line' id='LC57'> eend $? &quot;Failed to restart ${SVCNAME}&quot;</div><div class='line' id='LC58'>}</div><div class='line' id='LC59'><br/></div><div class='line' id='LC60'>status() {</div><div class='line' id='LC61'> start-stop-daemon --exec /usr/bin/${BASENAME}-init -- ${SERVERNAME} status</div><div class='line' id='LC62'> eend $? &quot;Failed to get status for ${SVCNAME}&quot;</div><div class='line' id='LC63'>}</div><div class='line' id='LC64'><br/></div></pre></div>
527 - </td>
528 - </tr>
529 - </table>
530 - </div>
531 -
532 - </div>
533 - </div>
534 - </div>
535 -
536 - <a href="#jump-to-line" rel="facebox" data-hotkey="l" class="js-jump-to-line" style="display:none">Jump to Line</a>
537 - <div id="jump-to-line" style="display:none">
538 - <h2>Jump to Line</h2>
539 - <form accept-charset="UTF-8" class="js-jump-to-line-form">
540 - <input class="textfield js-jump-to-line-field" type="text">
541 - <div class="full-button">
542 - <button type="submit" class="classy">
543 - Go
544 - </button>
545 - </div>
546 - </form>
547 - </div>
548 -
549 - </div>
550 -</div>
551 -
552 -<div id="js-frame-loading-template" class="frame frame-loading large-loading-area" style="display:none;">
553 - <img class="js-frame-loading-spinner" src="https://a248.e.akamai.net/assets.github.com/images/spinners/octocat-spinner-128.gif?1347543525" height="64" width="64">
554 -</div>
555 -
556 -
557 - </div>
558 - </div>
559 - <div class="context-overlay"></div>
560 - </div>
561 -
562 - <div id="footer-push"></div><!-- hack for sticky footer -->
563 - </div><!-- end of wrapper - hack for sticky footer -->
564 -
565 - <!-- footer -->
566 - <div id="footer">
567 - <div class="container clearfix">
568 -
569 - <dl class="footer_nav">
570 - <dt>GitHub</dt>
571 - <dd><a href="https://github.com/about">About us</a></dd>
572 - <dd><a href="https://github.com/blog">Blog</a></dd>
573 - <dd><a href="https://github.com/contact">Contact &amp; support</a></dd>
574 - <dd><a href="http://enterprise.github.com/">GitHub Enterprise</a></dd>
575 - <dd><a href="http://status.github.com/">Site status</a></dd>
576 - </dl>
577 -
578 - <dl class="footer_nav">
579 - <dt>Applications</dt>
580 - <dd><a href="http://mac.github.com/">GitHub for Mac</a></dd>
581 - <dd><a href="http://windows.github.com/">GitHub for Windows</a></dd>
582 - <dd><a href="http://eclipse.github.com/">GitHub for Eclipse</a></dd>
583 - <dd><a href="http://mobile.github.com/">GitHub mobile apps</a></dd>
584 - </dl>
585 -
586 - <dl class="footer_nav">
587 - <dt>Services</dt>
588 - <dd><a href="http://get.gaug.es/">Gauges: Web analytics</a></dd>
589 - <dd><a href="http://speakerdeck.com">Speaker Deck: Presentations</a></dd>
590 - <dd><a href="https://gist.github.com">Gist: Code snippets</a></dd>
591 - <dd><a href="http://jobs.github.com/">Job board</a></dd>
592 - </dl>
593 -
594 - <dl class="footer_nav">
595 - <dt>Documentation</dt>
596 - <dd><a href="http://help.github.com/">GitHub Help</a></dd>
597 - <dd><a href="http://developer.github.com/">Developer API</a></dd>
598 - <dd><a href="http://github.github.com/github-flavored-markdown/">GitHub Flavored Markdown</a></dd>
599 - <dd><a href="http://pages.github.com/">GitHub Pages</a></dd>
600 - </dl>
601 -
602 - <dl class="footer_nav">
603 - <dt>More</dt>
604 - <dd><a href="http://training.github.com/">Training</a></dd>
605 - <dd><a href="https://github.com/edu">Students &amp; teachers</a></dd>
606 - <dd><a href="http://shop.github.com">The Shop</a></dd>
607 - <dd><a href="/plans">Plans &amp; pricing</a></dd>
608 - <dd><a href="http://octodex.github.com/">The Octodex</a></dd>
609 - </dl>
610 -
611 - <hr class="footer-divider">
612 -
613 -
614 - <p class="right">&copy; 2012 <span title="0.04159s from fe17.rs.github.com">GitHub</span> Inc. All rights reserved.</p>
615 - <a class="left" href="https://github.com/">
616 - <span class="mega-icon mega-icon-invertocat"></span>
617 - </a>
618 - <ul id="legal">
619 - <li><a href="https://github.com/site/terms">Terms of Service</a></li>
620 - <li><a href="https://github.com/site/privacy">Privacy</a></li>
621 - <li><a href="https://github.com/security">Security</a></li>
622 - </ul>
623 -
624 - </div><!-- /.container -->
625 -
626 -</div><!-- /.#footer -->
627 -
628 -
629 -
630 -
631 -<div id="keyboard_shortcuts_pane" class="instapaper_ignore readability-extra" style="display:none">
632 - <h2>Keyboard Shortcuts <small><a href="#" class="js-see-all-keyboard-shortcuts">(see all)</a></small></h2>
633 -
634 - <div class="columns threecols">
635 - <div class="column first">
636 - <h3>Site wide shortcuts</h3>
637 - <dl class="keyboard-mappings">
638 - <dt>s</dt>
639 - <dd>Focus command bar</dd>
640 - </dl>
641 - <dl class="keyboard-mappings">
642 - <dt>?</dt>
643 - <dd>Bring up this help dialog</dd>
644 - </dl>
645 - </div><!-- /.column.first -->
646 -
647 - <div class="column middle" style='display:none'>
648 - <h3>Commit list</h3>
649 - <dl class="keyboard-mappings">
650 - <dt>j</dt>
651 - <dd>Move selection down</dd>
652 - </dl>
653 - <dl class="keyboard-mappings">
654 - <dt>k</dt>
655 - <dd>Move selection up</dd>
656 - </dl>
657 - <dl class="keyboard-mappings">
658 - <dt>c <em>or</em> o <em>or</em> enter</dt>
659 - <dd>Open commit</dd>
660 - </dl>
661 - <dl class="keyboard-mappings">
662 - <dt>y</dt>
663 - <dd>Expand URL to its canonical form</dd>
664 - </dl>
665 - </div><!-- /.column.first -->
666 -
667 - <div class="column last js-hidden-pane" style='display:none'>
668 - <h3>Pull request list</h3>
669 - <dl class="keyboard-mappings">
670 - <dt>j</dt>
671 - <dd>Move selection down</dd>
672 - </dl>
673 - <dl class="keyboard-mappings">
674 - <dt>k</dt>
675 - <dd>Move selection up</dd>
676 - </dl>
677 - <dl class="keyboard-mappings">
678 - <dt>o <em>or</em> enter</dt>
679 - <dd>Open issue</dd>
680 - </dl>
681 - <dl class="keyboard-mappings">
682 - <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> enter</dt>
683 - <dd>Submit comment</dd>
684 - </dl>
685 - <dl class="keyboard-mappings">
686 - <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> shift p</dt>
687 - <dd>Preview comment</dd>
688 - </dl>
689 - </div><!-- /.columns.last -->
690 -
691 - </div><!-- /.columns.equacols -->
692 -
693 - <div class="js-hidden-pane" style='display:none'>
694 - <div class="rule"></div>
695 -
696 - <h3>Issues</h3>
697 -
698 - <div class="columns threecols">
699 - <div class="column first">
700 - <dl class="keyboard-mappings">
701 - <dt>j</dt>
702 - <dd>Move selection down</dd>
703 - </dl>
704 - <dl class="keyboard-mappings">
705 - <dt>k</dt>
706 - <dd>Move selection up</dd>
707 - </dl>
708 - <dl class="keyboard-mappings">
709 - <dt>x</dt>
710 - <dd>Toggle selection</dd>
711 - </dl>
712 - <dl class="keyboard-mappings">
713 - <dt>o <em>or</em> enter</dt>
714 - <dd>Open issue</dd>
715 - </dl>
716 - <dl class="keyboard-mappings">
717 - <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> enter</dt>
718 - <dd>Submit comment</dd>
719 - </dl>
720 - <dl class="keyboard-mappings">
721 - <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> shift p</dt>
722 - <dd>Preview comment</dd>
723 - </dl>
724 - </div><!-- /.column.first -->
725 - <div class="column last">
726 - <dl class="keyboard-mappings">
727 - <dt>c</dt>
728 - <dd>Create issue</dd>
729 - </dl>
730 - <dl class="keyboard-mappings">
731 - <dt>l</dt>
732 - <dd>Create label</dd>
733 - </dl>
734 - <dl class="keyboard-mappings">
735 - <dt>i</dt>
736 - <dd>Back to inbox</dd>
737 - </dl>
738 - <dl class="keyboard-mappings">
739 - <dt>u</dt>
740 - <dd>Back to issues</dd>
741 - </dl>
742 - <dl class="keyboard-mappings">
743 - <dt>/</dt>
744 - <dd>Focus issues search</dd>
745 - </dl>
746 - </div>
747 - </div>
748 - </div>
749 -
750 - <div class="js-hidden-pane" style='display:none'>
751 - <div class="rule"></div>
752 -
753 - <h3>Issues Dashboard</h3>
754 -
755 - <div class="columns threecols">
756 - <div class="column first">
757 - <dl class="keyboard-mappings">
758 - <dt>j</dt>
759 - <dd>Move selection down</dd>
760 - </dl>
761 - <dl class="keyboard-mappings">
762 - <dt>k</dt>
763 - <dd>Move selection up</dd>
764 - </dl>
765 - <dl class="keyboard-mappings">
766 - <dt>o <em>or</em> enter</dt>
767 - <dd>Open issue</dd>
768 - </dl>
769 - </div><!-- /.column.first -->
770 - </div>
771 - </div>
772 -
773 - <div class="js-hidden-pane" style='display:none'>
774 - <div class="rule"></div>
775 -
776 - <h3>Network Graph</h3>
777 - <div class="columns equacols">
778 - <div class="column first">
779 - <dl class="keyboard-mappings">
780 - <dt><span class="badmono">←</span> <em>or</em> h</dt>
781 - <dd>Scroll left</dd>
782 - </dl>
783 - <dl class="keyboard-mappings">
784 - <dt><span class="badmono">→</span> <em>or</em> l</dt>
785 - <dd>Scroll right</dd>
786 - </dl>
787 - <dl class="keyboard-mappings">
788 - <dt><span class="badmono">↑</span> <em>or</em> k</dt>
789 - <dd>Scroll up</dd>
790 - </dl>
791 - <dl class="keyboard-mappings">
792 - <dt><span class="badmono">↓</span> <em>or</em> j</dt>
793 - <dd>Scroll down</dd>
794 - </dl>
795 - <dl class="keyboard-mappings">
796 - <dt>t</dt>
797 - <dd>Toggle visibility of head labels</dd>
798 - </dl>
799 - </div><!-- /.column.first -->
800 - <div class="column last">
801 - <dl class="keyboard-mappings">
802 - <dt>shift <span class="badmono">←</span> <em>or</em> shift h</dt>
803 - <dd>Scroll all the way left</dd>
804 - </dl>
805 - <dl class="keyboard-mappings">
806 - <dt>shift <span class="badmono">→</span> <em>or</em> shift l</dt>
807 - <dd>Scroll all the way right</dd>
808 - </dl>
809 - <dl class="keyboard-mappings">
810 - <dt>shift <span class="badmono">↑</span> <em>or</em> shift k</dt>
811 - <dd>Scroll all the way up</dd>
812 - </dl>
813 - <dl class="keyboard-mappings">
814 - <dt>shift <span class="badmono">↓</span> <em>or</em> shift j</dt>
815 - <dd>Scroll all the way down</dd>
816 - </dl>
817 - </div><!-- /.column.last -->
818 - </div>
819 - </div>
820 -
821 - <div class="js-hidden-pane" >
822 - <div class="rule"></div>
823 - <div class="columns threecols">
824 - <div class="column first js-hidden-pane" >
825 - <h3>Source Code Browsing</h3>
826 - <dl class="keyboard-mappings">
827 - <dt>t</dt>
828 - <dd>Activates the file finder</dd>
829 - </dl>
830 - <dl class="keyboard-mappings">
831 - <dt>l</dt>
832 - <dd>Jump to line</dd>
833 - </dl>
834 - <dl class="keyboard-mappings">
835 - <dt>w</dt>
836 - <dd>Switch branch/tag</dd>
837 - </dl>
838 - <dl class="keyboard-mappings">
839 - <dt>y</dt>
840 - <dd>Expand URL to its canonical form</dd>
841 - </dl>
842 - </div>
843 - </div>
844 - </div>
845 -
846 - <div class="js-hidden-pane" style='display:none'>
847 - <div class="rule"></div>
848 - <div class="columns threecols">
849 - <div class="column first">
850 - <h3>Browsing Commits</h3>
851 - <dl class="keyboard-mappings">
852 - <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> enter</dt>
853 - <dd>Submit comment</dd>
854 - </dl>
855 - <dl class="keyboard-mappings">
856 - <dt>escape</dt>
857 - <dd>Close form</dd>
858 - </dl>
859 - <dl class="keyboard-mappings">
860 - <dt>p</dt>
861 - <dd>Parent commit</dd>
862 - </dl>
863 - <dl class="keyboard-mappings">
864 - <dt>o</dt>
865 - <dd>Other parent commit</dd>
866 - </dl>
867 - </div>
868 - </div>
869 - </div>
870 -
871 - <div class="js-hidden-pane" style='display:none'>
872 - <div class="rule"></div>
873 - <h3>Notifications</h3>
874 -
875 - <div class="columns threecols">
876 - <div class="column first">
877 - <dl class="keyboard-mappings">
878 - <dt>j</dt>
879 - <dd>Move selection down</dd>
880 - </dl>
881 - <dl class="keyboard-mappings">
882 - <dt>k</dt>
883 - <dd>Move selection up</dd>
884 - </dl>
885 - <dl class="keyboard-mappings">
886 - <dt>o <em>or</em> enter</dt>
887 - <dd>Open notification</dd>
888 - </dl>
889 - </div><!-- /.column.first -->
890 -
891 - <div class="column second">
892 - <dl class="keyboard-mappings">
893 - <dt>e <em>or</em> shift i <em>or</em> y</dt>
894 - <dd>Mark as read</dd>
895 - </dl>
896 - <dl class="keyboard-mappings">
897 - <dt>shift m</dt>
898 - <dd>Mute thread</dd>
899 - </dl>
900 - </div><!-- /.column.first -->
901 - </div>
902 - </div>
903 -
904 -</div>
905 -
906 - <div id="markdown-help" class="instapaper_ignore readability-extra">
907 - <h2>Markdown Cheat Sheet</h2>
908 -
909 - <div class="cheatsheet-content">
910 -
911 - <div class="mod">
912 - <div class="col">
913 - <h3>Format Text</h3>
914 - <p>Headers</p>
915 - <pre>
916 -# This is an &lt;h1&gt; tag
917 -## This is an &lt;h2&gt; tag
918 -###### This is an &lt;h6&gt; tag</pre>
919 - <p>Text styles</p>
920 - <pre>
921 -*This text will be italic*
922 -_This will also be italic_
923 -**This text will be bold**
924 -__This will also be bold__
925 -
926 -*You **can** combine them*
927 -</pre>
928 - </div>
929 - <div class="col">
930 - <h3>Lists</h3>
931 - <p>Unordered</p>
932 - <pre>
933 -* Item 1
934 -* Item 2
935 - * Item 2a
936 - * Item 2b</pre>
937 - <p>Ordered</p>
938 - <pre>
939 -1. Item 1
940 -2. Item 2
941 -3. Item 3
942 - * Item 3a
943 - * Item 3b</pre>
944 - </div>
945 - <div class="col">
946 - <h3>Miscellaneous</h3>
947 - <p>Images</p>
948 - <pre>
949 -![GitHub Logo](/images/logo.png)
950 -Format: ![Alt Text](url)
951 -</pre>
952 - <p>Links</p>
953 - <pre>
954 -http://github.com - automatic!
955 -[GitHub](http://github.com)</pre>
956 -<p>Blockquotes</p>
957 - <pre>
958 -As Kanye West said:
959 -
960 -> We're living the future so
961 -> the present is our past.
962 -</pre>
963 - </div>
964 - </div>
965 - <div class="rule"></div>
966 -
967 - <h3>Code Examples in Markdown</h3>
968 - <div class="col">
969 - <p>Syntax highlighting with <a href="http://github.github.com/github-flavored-markdown/" title="GitHub Flavored Markdown" target="_blank">GFM</a></p>
970 - <pre>
971 -```javascript
972 -function fancyAlert(arg) {
973 - if(arg) {
974 - $.facebox({div:'#foo'})
975 - }
976 -}
977 -```</pre>
978 - </div>
979 - <div class="col">
980 - <p>Or, indent your code 4 spaces</p>
981 - <pre>
982 -Here is a Python code example
983 -without syntax highlighting:
984 -
985 - def foo:
986 - if not bar:
987 - return true</pre>
988 - </div>
989 - <div class="col">
990 - <p>Inline code for comments</p>
991 - <pre>
992 -I think you should use an
993 -`&lt;addr&gt;` element here instead.</pre>
994 - </div>
995 - </div>
996 -
997 - </div>
998 -</div>
999 -
1000 -
1001 - <div id="ajax-error-message" class="flash flash-error">
1002 - <span class="mini-icon mini-icon-exclamation"></span>
1003 - Something went wrong with that request. Please try again.
1004 - <a href="#" class="mini-icon mini-icon-remove-close ajax-error-dismiss"></a>
1005 - </div>
1006 -
1007 -
1008 -
1009 - <span id='server_response_time' data-time='0.04280' data-host='fe17'></span>
1010 -
1011 - </body>
1012 -</html>
1013 -
1014
1015 diff --git a/sys-cluster/swift/files/swift-proxy.initd b/sys-cluster/swift/files/swift-proxy.initd
1016 new file mode 100644
1017 index 0000000..3dea8a0
1018 --- /dev/null
1019 +++ b/sys-cluster/swift/files/swift-proxy.initd
1020 @@ -0,0 +1,57 @@
1021 +#!/sbin/runscript
1022 +# Copyright 1999-2013 Gentoo Foundation
1023 +# Distributed under the terms of the GNU General Public License v2
1024 +# $Header: $
1025 +
1026 +COMMAND=/usr/bin/swift-init
1027 +PIDFILE=/var/run/swift/swift-proxy.pid
1028 +
1029 +depend() {
1030 + need net
1031 +}
1032 +
1033 +opts="reload"
1034 +
1035 +checkconfig() {
1036 + if [ ! -r /etc/swift/swift.conf ]; then
1037 + eerror "Missing required config file: /etc/swift/swift.conf"
1038 + return 1
1039 + fi
1040 + if [ ! -r /etc/swift/proxy-server.conf ]; then
1041 + eerror "Missing required config file: /etc/swift/proxy-server.conf"
1042 + return 1
1043 + fi
1044 + return 0
1045 +}
1046 +
1047 +start() {
1048 + checkconfig || return $?
1049 + ebegin "Starting ${SVCNAME}"
1050 + start-stop-daemon --start --quiet -i --pidfile ${PIDFILE} ${COMMAND} -- proxy start
1051 + eend $?
1052 +}
1053 +
1054 +stop() {
1055 + ebegin "Stopping ${SVCNAME}"
1056 + start-stop-daemon --stop --quiet -i --pidfile ${PIDFILE} ${COMMAND} -- proxy stop
1057 + eend $?
1058 +}
1059 +
1060 +reload() {
1061 + checkconfig || return $?
1062 + ebegin "Reloading ${SVCNAME}"
1063 + start-stop-daemon --quiet -i ${COMMAND} -- proxy reload
1064 + eend $? "Failed to reload ${SVCNAME}"
1065 +}
1066 +
1067 +restart() {
1068 + checkconfig || return $?
1069 + ebegin "Restarting ${SVCNAME}"
1070 + start-stop-daemon --quiet -i --pidfile ${PIDFILE} ${COMMAND} -- proxy restart
1071 + eend $? "Failed to restart ${SVCNAME}"
1072 +}
1073 +
1074 +status() {
1075 + start-stop-daemon --quiet -i ${COMMAND} -- proxy status
1076 + eend $? "Failed to get status for ${SVCNAME}"
1077 +}
1078
1079 diff --git a/sys-cluster/swift/files/swift-storage-server.confd b/sys-cluster/swift/files/swift-storage-server.confd
1080 deleted file mode 100644
1081 index 625dcf5..0000000
1082 --- a/sys-cluster/swift/files/swift-storage-server.confd
1083 +++ /dev/null
1084 @@ -1,775 +0,0 @@
1085 -
1086 -
1087 -
1088 -<!DOCTYPE html>
1089 -<html>
1090 - <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# githubog: http://ogp.me/ns/fb/githubog#">
1091 - <meta charset='utf-8'>
1092 - <meta http-equiv="X-UA-Compatible" content="IE=edge">
1093 - <title>openstack-overlay/sys-cluster/swift/files/swift-storage-server.confd at master · hyves-org/openstack-overlay · GitHub</title>
1094 - <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub" />
1095 - <link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub" />
1096 - <link rel="apple-touch-icon-precomposed" sizes="57x57" href="apple-touch-icon-114.png" />
1097 - <link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114.png" />
1098 - <link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-144.png" />
1099 - <link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-icon-144.png" />
1100 - <meta name="msapplication-TileImage" content="/windows-tile.png">
1101 - <meta name="msapplication-TileColor" content="#ffffff">
1102 -
1103 -
1104 -
1105 - <link rel="icon" type="image/x-icon" href="/favicon.ico" />
1106 -
1107 - <meta content="authenticity_token" name="csrf-param" />
1108 -<meta content="fQoN9Jn8nUuaW90HFyXJkgpgx+vwTvDigQm9nw2jNss=" name="csrf-token" />
1109 -
1110 - <link href="https://a248.e.akamai.net/assets.github.com/assets/github-136f905f03a0a6ce0292d2e017a31c4fe548e2d0.css" media="screen" rel="stylesheet" type="text/css" />
1111 - <link href="https://a248.e.akamai.net/assets.github.com/assets/github2-2326d6d1fbc034bffa9b37cad622815f40671037.css" media="screen" rel="stylesheet" type="text/css" />
1112 -
1113 -
1114 -
1115 - <script src="https://a248.e.akamai.net/assets.github.com/assets/frameworks-eee761b9d5e06efb064aaaf528c44ef8e1601e71.js" type="text/javascript"></script>
1116 - <script src="https://a248.e.akamai.net/assets.github.com/assets/github-69e35ef6c3d5b779e39f65bd04a4e43ff670991e.js" type="text/javascript"></script>
1117 -
1118 -
1119 - <link rel='permalink' href='/hyves-org/openstack-overlay/blob/271137305359f85d0f21a85e5387fba068b26e88/sys-cluster/swift/files/swift-storage-server.confd'>
1120 - <meta property="og:title" content="openstack-overlay"/>
1121 - <meta property="og:type" content="githubog:gitrepository"/>
1122 - <meta property="og:url" content="https://github.com/hyves-org/openstack-overlay"/>
1123 - <meta property="og:image" content="https://secure.gravatar.com/avatar/c5cfe5b5d4533c3637cd4315ff18e834?s=420&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png"/>
1124 - <meta property="og:site_name" content="GitHub"/>
1125 - <meta property="og:description" content="openstack-overlay - An overlay with the required ebuilds to install and run Openstack on Gentoo Linux"/>
1126 -
1127 - <meta name="description" content="openstack-overlay - An overlay with the required ebuilds to install and run Openstack on Gentoo Linux" />
1128 -
1129 - <link href="https://github.com/hyves-org/openstack-overlay/commits/master.atom" rel="alternate" title="Recent Commits to openstack-overlay:master" type="application/atom+xml" />
1130 -
1131 - </head>
1132 -
1133 -
1134 - <body class="logged_out page-blob vis-public env-production ">
1135 - <div id="wrapper">
1136 -
1137 -
1138 -
1139 -
1140 -
1141 -
1142 -
1143 -
1144 - <div class="header header-logged-out">
1145 - <div class="container clearfix">
1146 -
1147 - <a class="header-logo-wordmark" href="https://github.com/">
1148 - <img alt="GitHub" class="github-logo-4x" height="30" src="https://a248.e.akamai.net/assets.github.com/images/modules/header/logov7@××.png?1338945075" />
1149 - <img alt="GitHub" class="github-logo-4x-hover" height="30" src="https://a248.e.akamai.net/assets.github.com/images/modules/header/logov7@××××××××.png?1338945075" />
1150 - </a>
1151 -
1152 -
1153 -<ul class="top-nav">
1154 - <li class="explore"><a href="https://github.com/explore">Explore GitHub</a></li>
1155 - <li class="search"><a href="https://github.com/search">Search</a></li>
1156 - <li class="features"><a href="https://github.com/features">Features</a></li>
1157 - <li class="blog"><a href="https://github.com/blog">Blog</a></li>
1158 -</ul>
1159 -
1160 -
1161 - <div class="header-actions">
1162 - <a class="button primary classy" href="https://github.com/signup">Sign up for free</a>
1163 - <a class="button classy" href="https://github.com/login?return_to=%2Fhyves-org%2Fopenstack-overlay%2Fblob%2Fmaster%2Fsys-cluster%2Fswift%2Ffiles%2Fswift-storage-server.confd">Sign in</a>
1164 - </div>
1165 -
1166 - </div>
1167 - </div>
1168 -
1169 -
1170 -
1171 -
1172 -
1173 -
1174 -
1175 - <div class="site hfeed" itemscope itemtype="http://schema.org/WebPage">
1176 - <div class="hentry">
1177 -
1178 - <div class="pagehead repohead instapaper_ignore readability-menu">
1179 - <div class="container">
1180 - <div class="title-actions-bar">
1181 -
1182 -
1183 -
1184 - <ul class="pagehead-actions">
1185 -
1186 -
1187 - <li>
1188 - <span class="star-button"><a href="/login?return_to=%2Fhyves-org%2Fopenstack-overlay" class="minibutton js-toggler-target entice tooltipped leftwards" title="You must be signed in to use this feature" rel="nofollow"><span class="mini-icon mini-icon-star"></span>Star</a><a class="social-count js-social-count" href="/hyves-org/openstack-overlay/stargazers">13</a></span>
1189 - </li>
1190 - <li>
1191 - <a href="/login?return_to=%2Fhyves-org%2Fopenstack-overlay" class="minibutton js-toggler-target fork-button entice tooltipped leftwards" title="You must be signed in to fork a repository" rel="nofollow"><span class="mini-icon mini-icon-fork"></span>Fork</a><a href="/hyves-org/openstack-overlay/network" class="social-count">8</a>
1192 - </li>
1193 - </ul>
1194 -
1195 - <h1 itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="entry-title public">
1196 - <span class="repo-label"><span>public</span></span>
1197 - <span class="mega-icon mega-icon-public-repo"></span>
1198 - <span class="author vcard">
1199 - <a href="/hyves-org" class="url fn" itemprop="url" rel="author">
1200 - <span itemprop="title">hyves-org</span>
1201 - </a></span> /
1202 - <strong><a href="/hyves-org/openstack-overlay" class="js-current-repository">openstack-overlay</a></strong>
1203 - </h1>
1204 - </div>
1205 -
1206 -
1207 -
1208 - <ul class="tabs">
1209 - <li><a href="/hyves-org/openstack-overlay" class="selected" highlight="repo_sourcerepo_downloadsrepo_commitsrepo_tagsrepo_branches">Code</a></li>
1210 - <li><a href="/hyves-org/openstack-overlay/network" highlight="repo_network">Network</a></li>
1211 - <li><a href="/hyves-org/openstack-overlay/pulls" highlight="repo_pulls">Pull Requests <span class='counter'>0</span></a></li>
1212 -
1213 - <li><a href="/hyves-org/openstack-overlay/issues" highlight="repo_issues">Issues <span class='counter'>4</span></a></li>
1214 -
1215 -
1216 -
1217 - <li><a href="/hyves-org/openstack-overlay/graphs" highlight="repo_graphsrepo_contributors">Graphs</a></li>
1218 -
1219 -
1220 - </ul>
1221 -
1222 -<div class="tabnav">
1223 -
1224 - <span class="tabnav-right">
1225 - <ul class="tabnav-tabs">
1226 - <li><a href="/hyves-org/openstack-overlay/tags" class="tabnav-tab" highlight="repo_tags">Tags <span class="counter blank">0</span></a></li>
1227 - </ul>
1228 -
1229 - </span>
1230 -
1231 - <div class="tabnav-widget scope">
1232 -
1233 -
1234 - <div class="context-menu-container js-menu-container js-context-menu">
1235 - <a href="#"
1236 - class="minibutton bigger switcher js-menu-target js-commitish-button btn-branch repo-tree"
1237 - data-hotkey="w"
1238 - data-ref="master">
1239 - <span><em class="mini-icon mini-icon-branch"></em><i>branch:</i> master</span>
1240 - </a>
1241 -
1242 - <div class="context-pane commitish-context js-menu-content">
1243 - <a href="#" class="close js-menu-close"><span class="mini-icon mini-icon-remove-close"></span></a>
1244 - <div class="context-title">Switch branches/tags</div>
1245 - <div class="context-body pane-selector commitish-selector js-navigation-container">
1246 - <div class="filterbar">
1247 - <input type="text" id="context-commitish-filter-field" class="js-navigation-enable js-filterable-field js-ref-filter-field" placeholder="Filter branches/tags">
1248 - <ul class="tabs">
1249 - <li><a href="#" data-filter="branches" class="selected">Branches</a></li>
1250 - <li><a href="#" data-filter="tags">Tags</a></li>
1251 - </ul>
1252 - </div>
1253 -
1254 - <div class="js-filter-tab js-filter-branches">
1255 - <div data-filterable-for="context-commitish-filter-field" data-filterable-type=substring>
1256 - <div class="commitish-item branch-commitish selector-item js-navigation-item js-navigation-target selected">
1257 - <span class="mini-icon mini-icon-confirm"></span>
1258 - <h4>
1259 - <a href="/hyves-org/openstack-overlay/blob/master/sys-cluster/swift/files/swift-storage-server.confd" class="js-navigation-open" data-name="master" rel="nofollow">master</a>
1260 - </h4>
1261 - </div>
1262 - </div>
1263 - <div class="no-results">Nothing to show</div>
1264 -
1265 -
1266 - </div>
1267 -
1268 - <div class="js-filter-tab js-filter-tags filter-tab-empty" style="display:none">
1269 - <div data-filterable-for="context-commitish-filter-field" data-filterable-type=substring>
1270 - </div>
1271 - <div class="no-results">Nothing to show</div>
1272 - </div>
1273 -
1274 - </div>
1275 - </div><!-- /.commitish-context-context -->
1276 - </div>
1277 - </div> <!-- /.scope -->
1278 -
1279 - <ul class="tabnav-tabs">
1280 - <li><a href="/hyves-org/openstack-overlay" class="selected tabnav-tab" highlight="repo_source">Files</a></li>
1281 - <li><a href="/hyves-org/openstack-overlay/commits/master" class="tabnav-tab" highlight="repo_commits">Commits</a></li>
1282 - <li><a href="/hyves-org/openstack-overlay/branches" class="tabnav-tab" highlight="repo_branches" rel="nofollow">Branches <span class="counter ">1</span></a></li>
1283 - </ul>
1284 -
1285 -</div>
1286 -
1287 -
1288 -
1289 -
1290 -
1291 -
1292 -
1293 - </div>
1294 - </div><!-- /.repohead -->
1295 -
1296 - <div id="js-repo-pjax-container" class="container context-loader-container" data-pjax-container>
1297 -
1298 -
1299 -
1300 -<!-- blob contrib key: blob_contributors:v21:b1fb44a60bb3ba0465708ef3f966ab67 -->
1301 -<!-- blob contrib frag key: views10/v8/blob_contributors:v21:b1fb44a60bb3ba0465708ef3f966ab67 -->
1302 -
1303 -<div id="slider">
1304 -
1305 -
1306 - <div class="frame-meta">
1307 -
1308 - <p title="This is a placeholder element" class="js-history-link-replace hidden"></p>
1309 - <div class="breadcrumb">
1310 - <span class='bold'><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/hyves-org/openstack-overlay" class="js-slide-to" data-direction="back" itemscope="url"><span itemprop="title">openstack-overlay</span></a></span></span> / <span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/hyves-org/openstack-overlay/tree/master/sys-cluster" class="js-slide-to" data-direction="back" itemscope="url"><span itemprop="title">sys-cluster</span></a></span> / <span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/hyves-org/openstack-overlay/tree/master/sys-cluster/swift" class="js-slide-to" data-direction="back" itemscope="url"><span itemprop="title">swift</span></a></span> / <span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/hyves-org/openstack-overlay/tree/master/sys-cluster/swift/files" class="js-slide-to" data-direction="back" itemscope="url"><span itemprop="title">files</span></a></span> /
1311 <strong class="final-path">swift-storage-server.confd</strong> <span class="js-clippy mini-icon mini-icon-clippy " data-clipboard-text="sys-cluster/swift/files/swift-storage-server.confd" data-copied-hint="copied!" data-copy-hint="copy to clipboard"></span>
1312 - </div>
1313 -
1314 - <a href="/hyves-org/openstack-overlay/find/master" class="js-slide-to" data-hotkey="t" style="display:none">Show File Finder</a>
1315 -
1316 -
1317 - <div class="commit file-history-tease">
1318 - <img class="main-avatar" height="24" src="https://secure.gravatar.com/avatar/2f42c07abd5729c33aa6ddedf4f8a8c2?s=140&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="24" />
1319 - <span class="author"><span rel="author">Cor Cornelisse</span></span>
1320 - <time class="js-relative-date" datetime="2012-01-31T05:40:20-08:00" title="2012-01-31 05:40:20">January 31, 2012</time>
1321 - <div class="commit-title">
1322 - <a href="/hyves-org/openstack-overlay/commit/adbc5d42f4ae86954257ee9050e882295b5a8cb5" class="message">New ebuild for swift version 1.4.5, includes init scripting, dependin…</a>
1323 - </div>
1324 -
1325 - <div class="participation">
1326 - <p class="quickstat"><a href="#blob_contributors_box" rel="facebox"><strong>0</strong> contributors</a></p>
1327 -
1328 - </div>
1329 - <div id="blob_contributors_box" style="display:none">
1330 - <h2>Users on GitHub who have contributed to this file</h2>
1331 - <ul class="facebox-user-list">
1332 - </ul>
1333 - </div>
1334 - </div>
1335 -
1336 -
1337 - </div><!-- ./.frame-meta -->
1338 -
1339 - <div class="frames">
1340 - <div class="frame" data-permalink-url="/hyves-org/openstack-overlay/blob/271137305359f85d0f21a85e5387fba068b26e88/sys-cluster/swift/files/swift-storage-server.confd" data-title="openstack-overlay/sys-cluster/swift/files/swift-storage-server.confd at master · hyves-org/openstack-overlay · GitHub" data-type="blob">
1341 -
1342 - <div id="files" class="bubble">
1343 - <div class="file">
1344 - <div class="meta">
1345 - <div class="info">
1346 - <span class="icon"><b class="mini-icon mini-icon-text-file"></b></span>
1347 - <span class="mode" title="File Mode">file</span>
1348 - <span>6 lines (4 sloc)</span>
1349 - <span>0.182 kb</span>
1350 - </div>
1351 - <ul class="button-group actions">
1352 - <li>
1353 - <a class="grouped-button minibutton bigger lighter js-entice" href=""
1354 - data-entice="You must be signed in and on a branch to make or propose changes">Edit</a>
1355 - </li>
1356 - <li><a href="/hyves-org/openstack-overlay/raw/master/sys-cluster/swift/files/swift-storage-server.confd" class="minibutton grouped-button bigger lighter" id="raw-url">Raw</a></li>
1357 - <li><a href="/hyves-org/openstack-overlay/blame/master/sys-cluster/swift/files/swift-storage-server.confd" class="minibutton grouped-button bigger lighter">Blame</a></li>
1358 - <li><a href="/hyves-org/openstack-overlay/commits/master/sys-cluster/swift/files/swift-storage-server.confd" class="minibutton grouped-button bigger lighter" rel="nofollow">History</a></li>
1359 - </ul>
1360 - </div>
1361 - <div class="data type-text">
1362 - <table cellpadding="0" cellspacing="0" class="lines">
1363 - <tr>
1364 - <td>
1365 - <pre class="line_numbers"><span id="L1" rel="#L1">1</span>
1366 -<span id="L2" rel="#L2">2</span>
1367 -<span id="L3" rel="#L3">3</span>
1368 -<span id="L4" rel="#L4">4</span>
1369 -<span id="L5" rel="#L5">5</span>
1370 -</pre>
1371 - </td>
1372 - <td width="100%">
1373 - <div class="highlight"><pre><div class='line' id='LC1'>SERVERS=&quot;account container object&quot;</div><div class='line' id='LC2'><br/></div><div class='line' id='LC3'>ACCOUNTSERVICE=&quot;server replicator auditor&quot;</div><div class='line' id='LC4'>CONTAINERSERVICE=&quot;server replicator updater auditor&quot;</div><div class='line' id='LC5'>OBJECTSERVICE=&quot;server replicator updater auditor&quot;</div></pre></div>
1374 - </td>
1375 - </tr>
1376 - </table>
1377 - </div>
1378 -
1379 - </div>
1380 - </div>
1381 - </div>
1382 -
1383 - <a href="#jump-to-line" rel="facebox" data-hotkey="l" class="js-jump-to-line" style="display:none">Jump to Line</a>
1384 - <div id="jump-to-line" style="display:none">
1385 - <h2>Jump to Line</h2>
1386 - <form accept-charset="UTF-8" class="js-jump-to-line-form">
1387 - <input class="textfield js-jump-to-line-field" type="text">
1388 - <div class="full-button">
1389 - <button type="submit" class="classy">
1390 - Go
1391 - </button>
1392 - </div>
1393 - </form>
1394 - </div>
1395 -
1396 - </div>
1397 -</div>
1398 -
1399 -<div id="js-frame-loading-template" class="frame frame-loading large-loading-area" style="display:none;">
1400 - <img class="js-frame-loading-spinner" src="https://a248.e.akamai.net/assets.github.com/images/spinners/octocat-spinner-128.gif?1347543527" height="64" width="64">
1401 -</div>
1402 -
1403 -
1404 - </div>
1405 - </div>
1406 - <div class="context-overlay"></div>
1407 - </div>
1408 -
1409 - <div id="footer-push"></div><!-- hack for sticky footer -->
1410 - </div><!-- end of wrapper - hack for sticky footer -->
1411 -
1412 - <!-- footer -->
1413 - <div id="footer">
1414 - <div class="container clearfix">
1415 -
1416 - <dl class="footer_nav">
1417 - <dt>GitHub</dt>
1418 - <dd><a href="https://github.com/about">About us</a></dd>
1419 - <dd><a href="https://github.com/blog">Blog</a></dd>
1420 - <dd><a href="https://github.com/contact">Contact &amp; support</a></dd>
1421 - <dd><a href="http://enterprise.github.com/">GitHub Enterprise</a></dd>
1422 - <dd><a href="http://status.github.com/">Site status</a></dd>
1423 - </dl>
1424 -
1425 - <dl class="footer_nav">
1426 - <dt>Applications</dt>
1427 - <dd><a href="http://mac.github.com/">GitHub for Mac</a></dd>
1428 - <dd><a href="http://windows.github.com/">GitHub for Windows</a></dd>
1429 - <dd><a href="http://eclipse.github.com/">GitHub for Eclipse</a></dd>
1430 - <dd><a href="http://mobile.github.com/">GitHub mobile apps</a></dd>
1431 - </dl>
1432 -
1433 - <dl class="footer_nav">
1434 - <dt>Services</dt>
1435 - <dd><a href="http://get.gaug.es/">Gauges: Web analytics</a></dd>
1436 - <dd><a href="http://speakerdeck.com">Speaker Deck: Presentations</a></dd>
1437 - <dd><a href="https://gist.github.com">Gist: Code snippets</a></dd>
1438 - <dd><a href="http://jobs.github.com/">Job board</a></dd>
1439 - </dl>
1440 -
1441 - <dl class="footer_nav">
1442 - <dt>Documentation</dt>
1443 - <dd><a href="http://help.github.com/">GitHub Help</a></dd>
1444 - <dd><a href="http://developer.github.com/">Developer API</a></dd>
1445 - <dd><a href="http://github.github.com/github-flavored-markdown/">GitHub Flavored Markdown</a></dd>
1446 - <dd><a href="http://pages.github.com/">GitHub Pages</a></dd>
1447 - </dl>
1448 -
1449 - <dl class="footer_nav">
1450 - <dt>More</dt>
1451 - <dd><a href="http://training.github.com/">Training</a></dd>
1452 - <dd><a href="https://github.com/edu">Students &amp; teachers</a></dd>
1453 - <dd><a href="http://shop.github.com">The Shop</a></dd>
1454 - <dd><a href="/plans">Plans &amp; pricing</a></dd>
1455 - <dd><a href="http://octodex.github.com/">The Octodex</a></dd>
1456 - </dl>
1457 -
1458 - <hr class="footer-divider">
1459 -
1460 -
1461 - <p class="right">&copy; 2012 <span title="0.04317s from fe2.rs.github.com">GitHub</span> Inc. All rights reserved.</p>
1462 - <a class="left" href="https://github.com/">
1463 - <span class="mega-icon mega-icon-invertocat"></span>
1464 - </a>
1465 - <ul id="legal">
1466 - <li><a href="https://github.com/site/terms">Terms of Service</a></li>
1467 - <li><a href="https://github.com/site/privacy">Privacy</a></li>
1468 - <li><a href="https://github.com/security">Security</a></li>
1469 - </ul>
1470 -
1471 - </div><!-- /.container -->
1472 -
1473 -</div><!-- /.#footer -->
1474 -
1475 -
1476 -
1477 -
1478 -<div id="keyboard_shortcuts_pane" class="instapaper_ignore readability-extra" style="display:none">
1479 - <h2>Keyboard Shortcuts <small><a href="#" class="js-see-all-keyboard-shortcuts">(see all)</a></small></h2>
1480 -
1481 - <div class="columns threecols">
1482 - <div class="column first">
1483 - <h3>Site wide shortcuts</h3>
1484 - <dl class="keyboard-mappings">
1485 - <dt>s</dt>
1486 - <dd>Focus command bar</dd>
1487 - </dl>
1488 - <dl class="keyboard-mappings">
1489 - <dt>?</dt>
1490 - <dd>Bring up this help dialog</dd>
1491 - </dl>
1492 - </div><!-- /.column.first -->
1493 -
1494 - <div class="column middle" style='display:none'>
1495 - <h3>Commit list</h3>
1496 - <dl class="keyboard-mappings">
1497 - <dt>j</dt>
1498 - <dd>Move selection down</dd>
1499 - </dl>
1500 - <dl class="keyboard-mappings">
1501 - <dt>k</dt>
1502 - <dd>Move selection up</dd>
1503 - </dl>
1504 - <dl class="keyboard-mappings">
1505 - <dt>c <em>or</em> o <em>or</em> enter</dt>
1506 - <dd>Open commit</dd>
1507 - </dl>
1508 - <dl class="keyboard-mappings">
1509 - <dt>y</dt>
1510 - <dd>Expand URL to its canonical form</dd>
1511 - </dl>
1512 - </div><!-- /.column.first -->
1513 -
1514 - <div class="column last js-hidden-pane" style='display:none'>
1515 - <h3>Pull request list</h3>
1516 - <dl class="keyboard-mappings">
1517 - <dt>j</dt>
1518 - <dd>Move selection down</dd>
1519 - </dl>
1520 - <dl class="keyboard-mappings">
1521 - <dt>k</dt>
1522 - <dd>Move selection up</dd>
1523 - </dl>
1524 - <dl class="keyboard-mappings">
1525 - <dt>o <em>or</em> enter</dt>
1526 - <dd>Open issue</dd>
1527 - </dl>
1528 - <dl class="keyboard-mappings">
1529 - <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> enter</dt>
1530 - <dd>Submit comment</dd>
1531 - </dl>
1532 - <dl class="keyboard-mappings">
1533 - <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> shift p</dt>
1534 - <dd>Preview comment</dd>
1535 - </dl>
1536 - </div><!-- /.columns.last -->
1537 -
1538 - </div><!-- /.columns.equacols -->
1539 -
1540 - <div class="js-hidden-pane" style='display:none'>
1541 - <div class="rule"></div>
1542 -
1543 - <h3>Issues</h3>
1544 -
1545 - <div class="columns threecols">
1546 - <div class="column first">
1547 - <dl class="keyboard-mappings">
1548 - <dt>j</dt>
1549 - <dd>Move selection down</dd>
1550 - </dl>
1551 - <dl class="keyboard-mappings">
1552 - <dt>k</dt>
1553 - <dd>Move selection up</dd>
1554 - </dl>
1555 - <dl class="keyboard-mappings">
1556 - <dt>x</dt>
1557 - <dd>Toggle selection</dd>
1558 - </dl>
1559 - <dl class="keyboard-mappings">
1560 - <dt>o <em>or</em> enter</dt>
1561 - <dd>Open issue</dd>
1562 - </dl>
1563 - <dl class="keyboard-mappings">
1564 - <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> enter</dt>
1565 - <dd>Submit comment</dd>
1566 - </dl>
1567 - <dl class="keyboard-mappings">
1568 - <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> shift p</dt>
1569 - <dd>Preview comment</dd>
1570 - </dl>
1571 - </div><!-- /.column.first -->
1572 - <div class="column last">
1573 - <dl class="keyboard-mappings">
1574 - <dt>c</dt>
1575 - <dd>Create issue</dd>
1576 - </dl>
1577 - <dl class="keyboard-mappings">
1578 - <dt>l</dt>
1579 - <dd>Create label</dd>
1580 - </dl>
1581 - <dl class="keyboard-mappings">
1582 - <dt>i</dt>
1583 - <dd>Back to inbox</dd>
1584 - </dl>
1585 - <dl class="keyboard-mappings">
1586 - <dt>u</dt>
1587 - <dd>Back to issues</dd>
1588 - </dl>
1589 - <dl class="keyboard-mappings">
1590 - <dt>/</dt>
1591 - <dd>Focus issues search</dd>
1592 - </dl>
1593 - </div>
1594 - </div>
1595 - </div>
1596 -
1597 - <div class="js-hidden-pane" style='display:none'>
1598 - <div class="rule"></div>
1599 -
1600 - <h3>Issues Dashboard</h3>
1601 -
1602 - <div class="columns threecols">
1603 - <div class="column first">
1604 - <dl class="keyboard-mappings">
1605 - <dt>j</dt>
1606 - <dd>Move selection down</dd>
1607 - </dl>
1608 - <dl class="keyboard-mappings">
1609 - <dt>k</dt>
1610 - <dd>Move selection up</dd>
1611 - </dl>
1612 - <dl class="keyboard-mappings">
1613 - <dt>o <em>or</em> enter</dt>
1614 - <dd>Open issue</dd>
1615 - </dl>
1616 - </div><!-- /.column.first -->
1617 - </div>
1618 - </div>
1619 -
1620 - <div class="js-hidden-pane" style='display:none'>
1621 - <div class="rule"></div>
1622 -
1623 - <h3>Network Graph</h3>
1624 - <div class="columns equacols">
1625 - <div class="column first">
1626 - <dl class="keyboard-mappings">
1627 - <dt><span class="badmono">←</span> <em>or</em> h</dt>
1628 - <dd>Scroll left</dd>
1629 - </dl>
1630 - <dl class="keyboard-mappings">
1631 - <dt><span class="badmono">→</span> <em>or</em> l</dt>
1632 - <dd>Scroll right</dd>
1633 - </dl>
1634 - <dl class="keyboard-mappings">
1635 - <dt><span class="badmono">↑</span> <em>or</em> k</dt>
1636 - <dd>Scroll up</dd>
1637 - </dl>
1638 - <dl class="keyboard-mappings">
1639 - <dt><span class="badmono">↓</span> <em>or</em> j</dt>
1640 - <dd>Scroll down</dd>
1641 - </dl>
1642 - <dl class="keyboard-mappings">
1643 - <dt>t</dt>
1644 - <dd>Toggle visibility of head labels</dd>
1645 - </dl>
1646 - </div><!-- /.column.first -->
1647 - <div class="column last">
1648 - <dl class="keyboard-mappings">
1649 - <dt>shift <span class="badmono">←</span> <em>or</em> shift h</dt>
1650 - <dd>Scroll all the way left</dd>
1651 - </dl>
1652 - <dl class="keyboard-mappings">
1653 - <dt>shift <span class="badmono">→</span> <em>or</em> shift l</dt>
1654 - <dd>Scroll all the way right</dd>
1655 - </dl>
1656 - <dl class="keyboard-mappings">
1657 - <dt>shift <span class="badmono">↑</span> <em>or</em> shift k</dt>
1658 - <dd>Scroll all the way up</dd>
1659 - </dl>
1660 - <dl class="keyboard-mappings">
1661 - <dt>shift <span class="badmono">↓</span> <em>or</em> shift j</dt>
1662 - <dd>Scroll all the way down</dd>
1663 - </dl>
1664 - </div><!-- /.column.last -->
1665 - </div>
1666 - </div>
1667 -
1668 - <div class="js-hidden-pane" >
1669 - <div class="rule"></div>
1670 - <div class="columns threecols">
1671 - <div class="column first js-hidden-pane" >
1672 - <h3>Source Code Browsing</h3>
1673 - <dl class="keyboard-mappings">
1674 - <dt>t</dt>
1675 - <dd>Activates the file finder</dd>
1676 - </dl>
1677 - <dl class="keyboard-mappings">
1678 - <dt>l</dt>
1679 - <dd>Jump to line</dd>
1680 - </dl>
1681 - <dl class="keyboard-mappings">
1682 - <dt>w</dt>
1683 - <dd>Switch branch/tag</dd>
1684 - </dl>
1685 - <dl class="keyboard-mappings">
1686 - <dt>y</dt>
1687 - <dd>Expand URL to its canonical form</dd>
1688 - </dl>
1689 - </div>
1690 - </div>
1691 - </div>
1692 -
1693 - <div class="js-hidden-pane" style='display:none'>
1694 - <div class="rule"></div>
1695 - <div class="columns threecols">
1696 - <div class="column first">
1697 - <h3>Browsing Commits</h3>
1698 - <dl class="keyboard-mappings">
1699 - <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> enter</dt>
1700 - <dd>Submit comment</dd>
1701 - </dl>
1702 - <dl class="keyboard-mappings">
1703 - <dt>escape</dt>
1704 - <dd>Close form</dd>
1705 - </dl>
1706 - <dl class="keyboard-mappings">
1707 - <dt>p</dt>
1708 - <dd>Parent commit</dd>
1709 - </dl>
1710 - <dl class="keyboard-mappings">
1711 - <dt>o</dt>
1712 - <dd>Other parent commit</dd>
1713 - </dl>
1714 - </div>
1715 - </div>
1716 - </div>
1717 -
1718 - <div class="js-hidden-pane" style='display:none'>
1719 - <div class="rule"></div>
1720 - <h3>Notifications</h3>
1721 -
1722 - <div class="columns threecols">
1723 - <div class="column first">
1724 - <dl class="keyboard-mappings">
1725 - <dt>j</dt>
1726 - <dd>Move selection down</dd>
1727 - </dl>
1728 - <dl class="keyboard-mappings">
1729 - <dt>k</dt>
1730 - <dd>Move selection up</dd>
1731 - </dl>
1732 - <dl class="keyboard-mappings">
1733 - <dt>o <em>or</em> enter</dt>
1734 - <dd>Open notification</dd>
1735 - </dl>
1736 - </div><!-- /.column.first -->
1737 -
1738 - <div class="column second">
1739 - <dl class="keyboard-mappings">
1740 - <dt>e <em>or</em> shift i <em>or</em> y</dt>
1741 - <dd>Mark as read</dd>
1742 - </dl>
1743 - <dl class="keyboard-mappings">
1744 - <dt>shift m</dt>
1745 - <dd>Mute thread</dd>
1746 - </dl>
1747 - </div><!-- /.column.first -->
1748 - </div>
1749 - </div>
1750 -
1751 -</div>
1752 -
1753 - <div id="markdown-help" class="instapaper_ignore readability-extra">
1754 - <h2>Markdown Cheat Sheet</h2>
1755 -
1756 - <div class="cheatsheet-content">
1757 -
1758 - <div class="mod">
1759 - <div class="col">
1760 - <h3>Format Text</h3>
1761 - <p>Headers</p>
1762 - <pre>
1763 -# This is an &lt;h1&gt; tag
1764 -## This is an &lt;h2&gt; tag
1765 -###### This is an &lt;h6&gt; tag</pre>
1766 - <p>Text styles</p>
1767 - <pre>
1768 -*This text will be italic*
1769 -_This will also be italic_
1770 -**This text will be bold**
1771 -__This will also be bold__
1772 -
1773 -*You **can** combine them*
1774 -</pre>
1775 - </div>
1776 - <div class="col">
1777 - <h3>Lists</h3>
1778 - <p>Unordered</p>
1779 - <pre>
1780 -* Item 1
1781 -* Item 2
1782 - * Item 2a
1783 - * Item 2b</pre>
1784 - <p>Ordered</p>
1785 - <pre>
1786 -1. Item 1
1787 -2. Item 2
1788 -3. Item 3
1789 - * Item 3a
1790 - * Item 3b</pre>
1791 - </div>
1792 - <div class="col">
1793 - <h3>Miscellaneous</h3>
1794 - <p>Images</p>
1795 - <pre>
1796 -![GitHub Logo](/images/logo.png)
1797 -Format: ![Alt Text](url)
1798 -</pre>
1799 - <p>Links</p>
1800 - <pre>
1801 -http://github.com - automatic!
1802 -[GitHub](http://github.com)</pre>
1803 -<p>Blockquotes</p>
1804 - <pre>
1805 -As Kanye West said:
1806 -
1807 -> We're living the future so
1808 -> the present is our past.
1809 -</pre>
1810 - </div>
1811 - </div>
1812 - <div class="rule"></div>
1813 -
1814 - <h3>Code Examples in Markdown</h3>
1815 - <div class="col">
1816 - <p>Syntax highlighting with <a href="http://github.github.com/github-flavored-markdown/" title="GitHub Flavored Markdown" target="_blank">GFM</a></p>
1817 - <pre>
1818 -```javascript
1819 -function fancyAlert(arg) {
1820 - if(arg) {
1821 - $.facebox({div:'#foo'})
1822 - }
1823 -}
1824 -```</pre>
1825 - </div>
1826 - <div class="col">
1827 - <p>Or, indent your code 4 spaces</p>
1828 - <pre>
1829 -Here is a Python code example
1830 -without syntax highlighting:
1831 -
1832 - def foo:
1833 - if not bar:
1834 - return true</pre>
1835 - </div>
1836 - <div class="col">
1837 - <p>Inline code for comments</p>
1838 - <pre>
1839 -I think you should use an
1840 -`&lt;addr&gt;` element here instead.</pre>
1841 - </div>
1842 - </div>
1843 -
1844 - </div>
1845 -</div>
1846 -
1847 -
1848 - <div id="ajax-error-message" class="flash flash-error">
1849 - <span class="mini-icon mini-icon-exclamation"></span>
1850 - Something went wrong with that request. Please try again.
1851 - <a href="#" class="mini-icon mini-icon-remove-close ajax-error-dismiss"></a>
1852 - </div>
1853 -
1854 -
1855 -
1856 - <span id='server_response_time' data-time='0.04438' data-host='fe2'></span>
1857 -
1858 - </body>
1859 -</html>
1860 -
1861
1862 diff --git a/sys-cluster/swift/files/swift-storage-server.initd b/sys-cluster/swift/files/swift-storage-server.initd
1863 deleted file mode 100644
1864 index 58d1251..0000000
1865 --- a/sys-cluster/swift/files/swift-storage-server.initd
1866 +++ /dev/null
1867 @@ -1,60 +0,0 @@
1868 -#!/sbin/runscript
1869 -# Copyright 1999-2012 Gentoo Foundation
1870 -# Distributed under the terms of the GNU General Public License v2
1871 -# $Header: $
1872 -#
1873 -# Author: Cor Cornelisse <corcornelisse@×××××.com>
1874 -
1875 -depend() {
1876 - need net
1877 -}
1878 -
1879 -BASENAME=$(echo $SVCNAME | cut -d '-' -f 1)
1880 -
1881 -checkconfig() {
1882 - if [ ! -r /etc/${BASENAME}/${BASENAME}.conf ]; then
1883 - eerror "Missing required config file: /etc/${BASENAME}/${BASENAME}.conf"
1884 - return 1
1885 - fi
1886 - for server in ${SERVERS}; do
1887 - if [ ! -r /etc/${BASENAME}/${server}-server.conf ]; then
1888 - eerror "Missing required config file: /etc/${BASENAME}/${SERVER}-server.conf"
1889 - return 1
1890 - fi
1891 - done
1892 - return 0
1893 -}
1894 -
1895 -start() {
1896 - checkconfig || return $?
1897 -
1898 - einfo "Starting all ${BASENAME} services:"
1899 -
1900 - for server in ${SERVERS}; do
1901 - for service in $(eval "echo \$${server^^}SERVICE"); do
1902 - ebegin "Starting $server-$service"
1903 - start-stop-daemon --start --pidfile \
1904 - "/var/run/${BASENAME}/$server-$service.pid" \
1905 - --exec /usr/bin/${BASENAME}-init \
1906 - -- $server-$service start
1907 - eend $? "Failed to start $server-$service"
1908 - done
1909 - done
1910 -}
1911 -
1912 -stop() {
1913 - checkconfig || return $?
1914 -
1915 - einfo "Stopping all ${BASENAME} services:"
1916 -
1917 - for server in ${SERVERS}; do
1918 - for service in $(eval "echo \$${server^^}SERVICE"); do
1919 - ebegin "Stopping $server-$service"
1920 - start-stop-daemon --stop --pidfile \
1921 - "/var/run/${BASENAME}/$server-$service.pid" \
1922 - --exec /usr/bin/${BASENAME}-init \
1923 - -- $server-$service stop
1924 - eend $? "Failed to stop $server-$service"
1925 - done
1926 - done
1927 -}
1928
1929 diff --git a/sys-cluster/swift/swift-1.7.4.ebuild b/sys-cluster/swift/swift-1.7.4.ebuild
1930 index 73a6131..78c98b0 100644
1931 --- a/sys-cluster/swift/swift-1.7.4.ebuild
1932 +++ b/sys-cluster/swift/swift-1.7.4.ebuild
1933 @@ -2,13 +2,11 @@
1934 # Distributed under the terms of the GNU General Public License v2
1935 # $Header: $
1936
1937 -EAPI=4
1938 +EAPI=5
1939 +RESTRICT="test"
1940 +PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
1941
1942 -PYTHON_DEPEND="2"
1943 -SUPPORT_PYTHON_ABIS="1"
1944 -RESTRICT_PYTHON_ABIS="3.*"
1945 -
1946 -inherit distutils eutils linux-info
1947 +inherit distutils-r1 eutils linux-info
1948
1949 DESCRIPTION="Swift is a highly available, distributed, eventually consistent
1950 object/blob store"
1951 @@ -46,14 +44,12 @@ CONFIG_CHECK="~EXT3_FS_XATTR ~SQUASHFS_XATTR ~CIFS_XATTR ~JFFS2_FS_XATTR
1952 ~ZFS"
1953
1954 pkg_setup() {
1955 - python_pkg_setup
1956 enewuser swift
1957 enewgroup swift
1958 }
1959
1960 -src_install() {
1961 - distutils_src_install
1962 -
1963 +python_install() {
1964 + distutils-r1_python_install
1965 keepdir /etc/swift
1966 insinto /etc/swift
1967
1968 @@ -67,11 +63,10 @@ src_install() {
1969
1970 if use proxy; then
1971 newinitd "${FILESDIR}/swift-proxy.initd" "swift-proxy"
1972 -
1973 newins "etc/proxy-server.conf-sample" "proxy-server.conf"
1974 fi
1975 if use account; then
1976 - newinitd "${FILESDIR}/swift-container.initd" "swift-account"
1977 + newinitd "${FILESDIR}/swift-account.initd" "swift-account"
1978 newins "etc/account-server.conf-sample" "account-server.conf"
1979 fi
1980 if use container; then
1981 @@ -81,7 +76,7 @@ src_install() {
1982 if use object; then
1983 newinitd "${FILESDIR}/swift-object.initd" "swift-obect"
1984 newins "etc/object-server.conf-sample" "object-server.conf"
1985 - newins "object-expirer.conf-sample" "object-expirer.conf"
1986 + newins "etc/object-expirer.conf-sample" "object-expirer.conf"
1987 fi
1988
1989 fowners swift:swift "/etc/swift" || die "fowners failed"
1990 @@ -93,45 +88,6 @@ pkg_postinst() {
1991 elog "in /etc/swift/cert.key. These can be created with the following:"
1992 elog " * cd /etc/swift"
1993 elog " * openssl req -new -x509 -nodes -out cert.crt -keyout cert.key"
1994 -
1995 - if use proxy; then
1996 - elog ""
1997 - elog "The storage rings must be created with the following three"
1998 - elog "commands:"
1999 - elog " * cd /etc/swift"
2000 - elog " * swift-ring-builder account.builder create SIZE REPLICAS HOURS"
2001 - elog " * swift-ring-builder container.builder create SIZE REPLICAS HOURS"
2002 - elog " * swift-ring-builder object.builder create SIZE REPLICAS HOURS"
2003 - elog ""
2004 - elog "The ring building commands take three arguments: SIZE, REPLICAS,"
2005 - elog "HOURS. Where SIZE is used to determine the total storage you"
2006 - elog "expect your swift cluster to use (e.g. 2^SIZE); REPLICAS is the"
2007 - elog "number of replicas to keep in the cluster of any piece of data;"
2008 - elog "and HOURS is the number of hours to restrict moving a partition"
2009 - elog "more than once."
2010 - elog ""
2011 - elog "Add zones to the rings with the following commands:"
2012 - elog " * swift-ring-builder account.builder add zZONE-IP:6002/DEV WEIGHT"
2013 - elog " * swift-ring-builder container.builder add zZONE-IP:6001/DEV WEIGHT"
2014 - elog " * swift-ring-builder object.builder add zZONE-IP:6000/DEV WEIGHT"
2015 - elog ""
2016 - elog "The zone parameters (ZONE, IP, DEV, and WEIGHT) dictate how the"
2017 - elog "zone is utilized in the cluster. ZONE is a unique number for the"
2018 - elog "zone being created. Every grouping of three commands run must"
2019 - elog "increment ZONE. IP is the IP of this proxy node. DEV is the"
2020 - elog "device to use for storage (e.g. sdb1, sda4, etc). WEIGHT is the"
2021 - elog "preference to utilize this device over others. Higher numbers"
2022 - elog "are higher preference and should be reserved for bigger or faster"
2023 - elog "disks."
2024 - elog ""
2025 - elog "Once this has all been done, the rings must be rebalanced:"
2026 - elog " * swift-ring-builder account.builder rebalance"
2027 - elog " * swift-ring-builder container.builder rebalance"
2028 - elog " * swift-ring-builder object.builder rebalance"
2029 - elog ""
2030 - elog "Copy the account.ring.gz, container.ring.gz, and object.ring.gz"
2031 - elog "files to all the proxy and swift nodes"
2032 - fi
2033 }
2034
2035 #src_install()