60
by Chuck Short
releasing version 1.4.5~20111117.1632-0ubuntu1 |
1 |
# swift-container-server - SWIFT Container Server |
2 |
#
|
|
3 |
# The swift container server. |
|
4 |
||
5 |
description "SWIFT Container Server" |
|
6 |
author "Marc Cluet <marc.cluet@ubuntu.com>" |
|
7 |
||
8 |
start on runlevel [2345] |
|
9 |
stop on runlevel [016] |
|
10 |
||
11 |
pre-start script |
|
87.1.1
by James Page
* Fixup upstart configurations (LP: #954477): |
12 |
if [ -f "/etc/swift/container-server.conf" ]; then |
60
by Chuck Short
releasing version 1.4.5~20111117.1632-0ubuntu1 |
13 |
exec /usr/bin/swift-init container-server start |
14 |
else |
|
15 |
exit 1 |
|
16 |
fi |
|
17 |
end script |
|
18 |
||
19 |
post-stop exec /usr/bin/swift-init container-server stop |
|
20 |