You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ig...@apache.org on 2011/04/29 22:59:18 UTC
svn commit: r1097951 - in /trafficserver/traffic/trunk/rc: ./
trafficserver.conf.in
Author: igalic
Date: Fri Apr 29 20:59:18 2011
New Revision: 1097951
URL: http://svn.apache.org/viewvc?rev=1097951&view=rev
Log:
Add an upstart script for traffic server.
Added:
trafficserver/traffic/trunk/rc/trafficserver.conf.in
Modified:
trafficserver/traffic/trunk/rc/ (props changed)
Propchange: trafficserver/traffic/trunk/rc/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Fri Apr 29 20:59:18 2011
@@ -2,5 +2,6 @@ Makefile.in
Makefile
update_records
trafficserver
+trafficserver.xml
.libs
.deps
Added: trafficserver/traffic/trunk/rc/trafficserver.conf.in
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/rc/trafficserver.conf.in?rev=1097951&view=auto
==============================================================================
--- trafficserver/traffic/trunk/rc/trafficserver.conf.in (added)
+++ trafficserver/traffic/trunk/rc/trafficserver.conf.in Fri Apr 29 20:59:18 2011
@@ -0,0 +1,34 @@
+# trafficserver - Apache Traffic Server
+#
+# is a fast, scalable and extensible HTTP/1.1 compliant
+# caching proxy server.
+#
+# This config file is used for stopping and starting trafficserver
+# on upstart based systems. This is accomplished by dropping it in
+# /etc/init
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+description "Apache Traffic Server"
+
+start on virtual-filesystems
+stop on runlevel [06]
+
+expect fork
+respawn
+
+exec @exp_bindir@/bin/traffic_cop &