Added Apache header to several files.
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/7b13b097 Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/7b13b097 Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/7b13b097 Branch: refs/heads/master Commit: 7b13b097c09ce5576106ccb46e6f8491e300a3b4 Parents: 601b72e Author: Chris Lemmons <alfic...@gmail.com> Authored: Tue Jan 24 09:54:57 2017 -0700 Committer: Jeremy Mitchell <mitchell...@gmail.com> Committed: Tue Jan 24 11:29:59 2017 -0700 ---------------------------------------------------------------------- traffic_monitor/etc/_astats | 20 +++++++++++++++++++- traffic_monitor/etc/_astats_static | 19 ++++++++++++++++++- .../build/traffic_monitor.logrotate | 17 +++++++++++++++++ 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 +++++++++++++++++ traffic_ops/app/lib/Schema/Result/Snapshot.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 ++++++++++++++++++ 22 files changed, 385 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/7b13b097/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/7b13b097/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/7b13b097/traffic_monitor/experimental/build/traffic_monitor.logrotate ---------------------------------------------------------------------- diff --git a/traffic_monitor/experimental/build/traffic_monitor.logrotate b/traffic_monitor/experimental/build/traffic_monitor.logrotate index cf2d19b..e7073ad 100644 --- a/traffic_monitor/experimental/build/traffic_monitor.logrotate +++ b/traffic_monitor/experimental/build/traffic_monitor.logrotate @@ -1,3 +1,20 @@ +# 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_monitor/var/log/traffic_monitor.log { compress maxage 30 http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/7b13b097/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/7b13b097/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 bc482b4..afb1877 100644 --- a/traffic_ops/app/lib/Schema/Result/Deliveryservice.pm +++ b/traffic_ops/app/lib/Schema/Result/Deliveryservice.pm @@ -613,4 +613,21 @@ __PACKAGE__->belongs_to( # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OGL35PLFXtZ8BuzgP7IHzQ # 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/7b13b097/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 e76e597..de33b66 100644 --- a/traffic_ops/app/lib/Schema/Result/Federation.pm +++ b/traffic_ops/app/lib/Schema/Result/Federation.pm @@ -142,4 +142,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/7b13b097/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 bf1792d..766a8d9 100644 --- a/traffic_ops/app/lib/Schema/Result/FederationDeliveryservice.pm +++ b/traffic_ops/app/lib/Schema/Result/FederationDeliveryservice.pm @@ -110,4 +110,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/7b13b097/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 2a90565..3d3da8a 100644 --- a/traffic_ops/app/lib/Schema/Result/FederationFederationResolver.pm +++ b/traffic_ops/app/lib/Schema/Result/FederationFederationResolver.pm @@ -110,4 +110,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/7b13b097/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 bab6768..615e744 100644 --- a/traffic_ops/app/lib/Schema/Result/FederationResolver.pm +++ b/traffic_ops/app/lib/Schema/Result/FederationResolver.pm @@ -135,4 +135,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/7b13b097/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 ac77507..cb11ab2 100644 --- a/traffic_ops/app/lib/Schema/Result/FederationTmuser.pm +++ b/traffic_ops/app/lib/Schema/Result/FederationTmuser.pm @@ -133,4 +133,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/7b13b097/traffic_ops/app/lib/Schema/Result/Snapshot.pm ---------------------------------------------------------------------- diff --git a/traffic_ops/app/lib/Schema/Result/Snapshot.pm b/traffic_ops/app/lib/Schema/Result/Snapshot.pm index 08f522e..f7765f2 100644 --- a/traffic_ops/app/lib/Schema/Result/Snapshot.pm +++ b/traffic_ops/app/lib/Schema/Result/Snapshot.pm @@ -92,4 +92,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/7b13b097/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 5db5aad..a097da3 100644 --- a/traffic_ops/app/lib/Schema/Result/StatsSummary.pm +++ b/traffic_ops/app/lib/Schema/Result/StatsSummary.pm @@ -110,4 +110,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/7b13b097/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 a53f6cf..b3ad2c4 100644 --- a/traffic_ops/app/lib/Schema/Result/SteeringTarget.pm +++ b/traffic_ops/app/lib/Schema/Result/SteeringTarget.pm @@ -116,4 +116,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/7b13b097/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/7b13b097/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/7b13b097/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/7b13b097/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/7b13b097/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/7b13b097/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/7b13b097/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/7b13b097/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/7b13b097/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