Added Apache header to several files. (cherry picked from commit 7b13b097c09ce5576106ccb46e6f8491e300a3b4)
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/71a14c0b Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/71a14c0b Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/71a14c0b Branch: refs/heads/1.8.x Commit: 71a14c0b72fe6d73bd696736807dc7c4392b16fe Parents: 56d459d Author: Chris Lemmons <alfic...@gmail.com> Authored: Tue Jan 24 09:54:57 2017 -0700 Committer: Dan Kirkwood <dang...@gmail.com> Committed: Tue Jan 24 11:45:17 2017 -0700 ---------------------------------------------------------------------- traffic_monitor/etc/_astats | 20 +++++++++++++++++++- traffic_monitor/etc/_astats_static | 19 ++++++++++++++++++- traffic_monitor/src/main/etc/init.d/tomcat | 17 +++++++++++++++++ .../app/lib/Schema/Result/Deliveryservice.pm | 17 +++++++++++++++++ traffic_ops/app/lib/Schema/Result/Federation.pm | 17 +++++++++++++++++ .../Schema/Result/FederationDeliveryservice.pm | 17 +++++++++++++++++ .../Result/FederationFederationResolver.pm | 17 +++++++++++++++++ .../app/lib/Schema/Result/FederationResolver.pm | 17 +++++++++++++++++ .../app/lib/Schema/Result/FederationTmuser.pm | 17 +++++++++++++++++ .../app/lib/Schema/Result/StatsSummary.pm | 17 +++++++++++++++++ .../app/lib/Schema/Result/SteeringTarget.pm | 17 +++++++++++++++++ .../ui/build/etc/init.d/traffic_ops_v2 | 18 ++++++++++++++++++ .../ui/build/etc/logrotate.d/traffic_ops_v2 | 18 ++++++++++++++++++ .../build/etc/logrotate.d/traffic_ops_v2-access | 18 ++++++++++++++++++ traffic_portal/build/etc/init.d/traffic_portal | 17 +++++++++++++++++ .../build/etc/logrotate.d/traffic_portal | 18 ++++++++++++++++++ .../build/etc/logrotate.d/traffic_portal-access | 18 ++++++++++++++++++ .../astats_over_http/astats_over_http.spec | 18 ++++++++++++++++++ traffic_server/spec/trafficserver.spec | 18 ++++++++++++++++++ traffic_stats/traffic_stats.logrotate | 18 ++++++++++++++++++ 20 files changed, 351 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71a14c0b/traffic_monitor/etc/_astats ---------------------------------------------------------------------- diff --git a/traffic_monitor/etc/_astats b/traffic_monitor/etc/_astats index 1c032a7..7f2c96e 100644 --- a/traffic_monitor/etc/_astats +++ b/traffic_monitor/etc/_astats @@ -1,4 +1,22 @@ -#!/usr/bin/perl +#!/usr/bin/perl + +# 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. + use strict; use warnings; http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71a14c0b/traffic_monitor/etc/_astats_static ---------------------------------------------------------------------- diff --git a/traffic_monitor/etc/_astats_static b/traffic_monitor/etc/_astats_static index 1c032a7..61d12b9 100644 --- a/traffic_monitor/etc/_astats_static +++ b/traffic_monitor/etc/_astats_static @@ -1,4 +1,21 @@ -#!/usr/bin/perl +#!/usr/bin/perl + +# 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. use strict; use warnings; http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71a14c0b/traffic_monitor/src/main/etc/init.d/tomcat ---------------------------------------------------------------------- diff --git a/traffic_monitor/src/main/etc/init.d/tomcat b/traffic_monitor/src/main/etc/init.d/tomcat index 8b4a0b4..5083fba 100644 --- a/traffic_monitor/src/main/etc/init.d/tomcat +++ b/traffic_monitor/src/main/etc/init.d/tomcat @@ -15,6 +15,23 @@ ### END INIT INFO # +# 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. + . /etc/rc.d/init.d/functions export NAME=tomcat http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71a14c0b/traffic_ops/app/lib/Schema/Result/Deliveryservice.pm ---------------------------------------------------------------------- diff --git a/traffic_ops/app/lib/Schema/Result/Deliveryservice.pm b/traffic_ops/app/lib/Schema/Result/Deliveryservice.pm index 8379ffc..b85df69 100644 --- a/traffic_ops/app/lib/Schema/Result/Deliveryservice.pm +++ b/traffic_ops/app/lib/Schema/Result/Deliveryservice.pm @@ -641,4 +641,21 @@ __PACKAGE__->belongs_to( # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:k1aJ71tsV0AWeFF/OpHFUA # You can replace this text with custom code or comments, and it will be preserved on regeneration +# +# 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. 1; http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71a14c0b/traffic_ops/app/lib/Schema/Result/Federation.pm ---------------------------------------------------------------------- diff --git a/traffic_ops/app/lib/Schema/Result/Federation.pm b/traffic_ops/app/lib/Schema/Result/Federation.pm index 51d854d..7cc2d49 100644 --- a/traffic_ops/app/lib/Schema/Result/Federation.pm +++ b/traffic_ops/app/lib/Schema/Result/Federation.pm @@ -156,4 +156,21 @@ __PACKAGE__->has_many( # You can replace this text with custom code or comments, and it will be preserved on regeneration +# +# 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. 1; http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71a14c0b/traffic_ops/app/lib/Schema/Result/FederationDeliveryservice.pm ---------------------------------------------------------------------- diff --git a/traffic_ops/app/lib/Schema/Result/FederationDeliveryservice.pm b/traffic_ops/app/lib/Schema/Result/FederationDeliveryservice.pm index 4b22f88..3fed758 100644 --- a/traffic_ops/app/lib/Schema/Result/FederationDeliveryservice.pm +++ b/traffic_ops/app/lib/Schema/Result/FederationDeliveryservice.pm @@ -128,4 +128,21 @@ __PACKAGE__->belongs_to( # You can replace this text with custom code or comments, and it will be preserved on regeneration +# +# 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. 1; http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71a14c0b/traffic_ops/app/lib/Schema/Result/FederationFederationResolver.pm ---------------------------------------------------------------------- diff --git a/traffic_ops/app/lib/Schema/Result/FederationFederationResolver.pm b/traffic_ops/app/lib/Schema/Result/FederationFederationResolver.pm index 7d79ac5..384b7a4 100644 --- a/traffic_ops/app/lib/Schema/Result/FederationFederationResolver.pm +++ b/traffic_ops/app/lib/Schema/Result/FederationFederationResolver.pm @@ -128,4 +128,21 @@ __PACKAGE__->belongs_to( # You can replace this text with custom code or comments, and it will be preserved on regeneration +# +# 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. 1; http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71a14c0b/traffic_ops/app/lib/Schema/Result/FederationResolver.pm ---------------------------------------------------------------------- diff --git a/traffic_ops/app/lib/Schema/Result/FederationResolver.pm b/traffic_ops/app/lib/Schema/Result/FederationResolver.pm index 13a924f..7b58d73 100644 --- a/traffic_ops/app/lib/Schema/Result/FederationResolver.pm +++ b/traffic_ops/app/lib/Schema/Result/FederationResolver.pm @@ -148,4 +148,21 @@ __PACKAGE__->belongs_to( # You can replace this text with custom code or comments, and it will be preserved on regeneration +# +# 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. 1; http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71a14c0b/traffic_ops/app/lib/Schema/Result/FederationTmuser.pm ---------------------------------------------------------------------- diff --git a/traffic_ops/app/lib/Schema/Result/FederationTmuser.pm b/traffic_ops/app/lib/Schema/Result/FederationTmuser.pm index ee48d37..3079b29 100644 --- a/traffic_ops/app/lib/Schema/Result/FederationTmuser.pm +++ b/traffic_ops/app/lib/Schema/Result/FederationTmuser.pm @@ -151,4 +151,21 @@ __PACKAGE__->belongs_to( # You can replace this text with custom code or comments, and it will be preserved on regeneration +# +# 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. 1; http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71a14c0b/traffic_ops/app/lib/Schema/Result/StatsSummary.pm ---------------------------------------------------------------------- diff --git a/traffic_ops/app/lib/Schema/Result/StatsSummary.pm b/traffic_ops/app/lib/Schema/Result/StatsSummary.pm index f2a0610..8a6d97e 100644 --- a/traffic_ops/app/lib/Schema/Result/StatsSummary.pm +++ b/traffic_ops/app/lib/Schema/Result/StatsSummary.pm @@ -131,4 +131,21 @@ __PACKAGE__->set_primary_key("id"); # You can replace this text with custom code or comments, and it will be preserved on regeneration +# +# 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. 1; http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71a14c0b/traffic_ops/app/lib/Schema/Result/SteeringTarget.pm ---------------------------------------------------------------------- diff --git a/traffic_ops/app/lib/Schema/Result/SteeringTarget.pm b/traffic_ops/app/lib/Schema/Result/SteeringTarget.pm index 6ec2879..dd65004 100644 --- a/traffic_ops/app/lib/Schema/Result/SteeringTarget.pm +++ b/traffic_ops/app/lib/Schema/Result/SteeringTarget.pm @@ -134,4 +134,21 @@ __PACKAGE__->belongs_to( # You can replace this text with custom code or comments, and it will be preserved on regeneration +# +# 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. 1; http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71a14c0b/traffic_ops/experimental/ui/build/etc/init.d/traffic_ops_v2 ---------------------------------------------------------------------- diff --git a/traffic_ops/experimental/ui/build/etc/init.d/traffic_ops_v2 b/traffic_ops/experimental/ui/build/etc/init.d/traffic_ops_v2 index de0ded5..e2b410d 100755 --- a/traffic_ops/experimental/ui/build/etc/init.d/traffic_ops_v2 +++ b/traffic_ops/experimental/ui/build/etc/init.d/traffic_ops_v2 @@ -25,6 +25,24 @@ # description: My Application ### END CHKCONFIG INFO # +# +# 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. + # An application name to display in echo text. # NAME="Traffic Ops v2 Application" # The full path to the directory containing the node and forever binaries. http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71a14c0b/traffic_ops/experimental/ui/build/etc/logrotate.d/traffic_ops_v2 ---------------------------------------------------------------------- diff --git a/traffic_ops/experimental/ui/build/etc/logrotate.d/traffic_ops_v2 b/traffic_ops/experimental/ui/build/etc/logrotate.d/traffic_ops_v2 index 229b500..af2d566 100644 --- a/traffic_ops/experimental/ui/build/etc/logrotate.d/traffic_ops_v2 +++ b/traffic_ops/experimental/ui/build/etc/logrotate.d/traffic_ops_v2 @@ -1,3 +1,21 @@ +# +# 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. + /var/log/traffic_ops_v2/traffic_ops_v2.log { daily copytruncate http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71a14c0b/traffic_ops/experimental/ui/build/etc/logrotate.d/traffic_ops_v2-access ---------------------------------------------------------------------- diff --git a/traffic_ops/experimental/ui/build/etc/logrotate.d/traffic_ops_v2-access b/traffic_ops/experimental/ui/build/etc/logrotate.d/traffic_ops_v2-access index 89eb341..892b4d0 100644 --- a/traffic_ops/experimental/ui/build/etc/logrotate.d/traffic_ops_v2-access +++ b/traffic_ops/experimental/ui/build/etc/logrotate.d/traffic_ops_v2-access @@ -1,3 +1,21 @@ +# +# 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. + /var/log/traffic_ops_v2/access.log { daily copytruncate http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71a14c0b/traffic_portal/build/etc/init.d/traffic_portal ---------------------------------------------------------------------- diff --git a/traffic_portal/build/etc/init.d/traffic_portal b/traffic_portal/build/etc/init.d/traffic_portal index aa60e68..be4697d 100755 --- a/traffic_portal/build/etc/init.d/traffic_portal +++ b/traffic_portal/build/etc/init.d/traffic_portal @@ -25,6 +25,23 @@ # description: My Application ### END CHKCONFIG INFO # +# 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. + # An application name to display in echo text. # NAME="Traffic Portal Application" # The full path to the directory containing the node and forever binaries. http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71a14c0b/traffic_portal/build/etc/logrotate.d/traffic_portal ---------------------------------------------------------------------- diff --git a/traffic_portal/build/etc/logrotate.d/traffic_portal b/traffic_portal/build/etc/logrotate.d/traffic_portal index 718717c..e30f02a 100644 --- a/traffic_portal/build/etc/logrotate.d/traffic_portal +++ b/traffic_portal/build/etc/logrotate.d/traffic_portal @@ -1,3 +1,21 @@ +# +# 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. + /var/log/traffic_portal/traffic_portal.log { daily copytruncate http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71a14c0b/traffic_portal/build/etc/logrotate.d/traffic_portal-access ---------------------------------------------------------------------- diff --git a/traffic_portal/build/etc/logrotate.d/traffic_portal-access b/traffic_portal/build/etc/logrotate.d/traffic_portal-access index 41b557e..0cce95b 100644 --- a/traffic_portal/build/etc/logrotate.d/traffic_portal-access +++ b/traffic_portal/build/etc/logrotate.d/traffic_portal-access @@ -1,3 +1,21 @@ +# +# 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. + /var/log/traffic_portal/access.log { daily copytruncate http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71a14c0b/traffic_server/plugins/astats_over_http/astats_over_http.spec ---------------------------------------------------------------------- diff --git a/traffic_server/plugins/astats_over_http/astats_over_http.spec b/traffic_server/plugins/astats_over_http/astats_over_http.spec index 25752bd..28ac853 100644 --- a/traffic_server/plugins/astats_over_http/astats_over_http.spec +++ b/traffic_server/plugins/astats_over_http/astats_over_http.spec @@ -1,3 +1,21 @@ +# +# 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. + %global install_prefix "/opt" Name: astats_over_http http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71a14c0b/traffic_server/spec/trafficserver.spec ---------------------------------------------------------------------- diff --git a/traffic_server/spec/trafficserver.spec b/traffic_server/spec/trafficserver.spec index eac0d30..e1418b3 100644 --- a/traffic_server/spec/trafficserver.spec +++ b/traffic_server/spec/trafficserver.spec @@ -1,3 +1,21 @@ +# +# 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. + %global install_prefix "/opt" Name: trafficserver http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71a14c0b/traffic_stats/traffic_stats.logrotate ---------------------------------------------------------------------- diff --git a/traffic_stats/traffic_stats.logrotate b/traffic_stats/traffic_stats.logrotate index b566da8..ef1bb9c 100644 --- a/traffic_stats/traffic_stats.logrotate +++ b/traffic_stats/traffic_stats.logrotate @@ -1,3 +1,21 @@ +# +# 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. + /opt/traffic_stats/var/log/traffic_stats/traffic_stats.log { compress maxage 30