Repository: karaf Updated Branches: refs/heads/master 6b81319b7 -> 3cb0a002f
[KARAF-4157]adding license header (cherry picked from commit 13dfc233ffdc0991bf8c6ce8ce0ffb5d5e6bebe0) Project: http://git-wip-us.apache.org/repos/asf/karaf/repo Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/3cb0a002 Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/3cb0a002 Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/3cb0a002 Branch: refs/heads/master Commit: 3cb0a002fffcf2d90e8732922813dd4ebc15fb84 Parents: 6b81319 Author: Freeman Fang <[email protected]> Authored: Fri Jan 15 11:22:09 2016 +0800 Committer: Freeman Fang <[email protected]> Committed: Fri Jan 15 11:25:10 2016 +0800 ---------------------------------------------------------------------- .../bin/contrib/karaf-service-template.conf | 15 +++++++++++++++ .../bin/contrib/karaf-service-template.init | 14 ++++++++++++++ .../contrib/karaf-service-template.init-debian | 14 ++++++++++++++ .../contrib/karaf-service-template.init-redhat | 14 ++++++++++++++ .../contrib/karaf-service-template.solaris-smf | 20 ++++++++++++++++++++ .../bin/contrib/karaf-service-template.systemd | 17 +++++++++++++++++ 6 files changed, 94 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/karaf/blob/3cb0a002/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.conf ---------------------------------------------------------------------- diff --git a/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.conf b/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.conf index abf103e..ed5c0d3 100644 --- a/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.conf +++ b/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.conf @@ -1,3 +1,18 @@ +# 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. + # # Karaf Service # http://git-wip-us.apache.org/repos/asf/karaf/blob/3cb0a002/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.init ---------------------------------------------------------------------- diff --git a/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.init b/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.init index 6ba799e..7802833 100644 --- a/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.init +++ b/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.init @@ -1,4 +1,18 @@ #!/bin/sh +# 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. # # Karaf control script # description: Karaf startup script http://git-wip-us.apache.org/repos/asf/karaf/blob/3cb0a002/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.init-debian ---------------------------------------------------------------------- diff --git a/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.init-debian b/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.init-debian index 4d2ddba..c2ec44f 100644 --- a/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.init-debian +++ b/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.init-debian @@ -1,4 +1,18 @@ #!/bin/sh +# 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/init.d/${KARAF_SERVICE_NAME} -- startup script for Karaf # http://git-wip-us.apache.org/repos/asf/karaf/blob/3cb0a002/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.init-redhat ---------------------------------------------------------------------- diff --git a/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.init-redhat b/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.init-redhat index 2f75d0b..00221a8 100644 --- a/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.init-redhat +++ b/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.init-redhat @@ -1,4 +1,18 @@ #!/bin/sh +# 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. # # Karaf control script # http://git-wip-us.apache.org/repos/asf/karaf/blob/3cb0a002/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.solaris-smf ---------------------------------------------------------------------- diff --git a/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.solaris-smf b/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.solaris-smf index 6bea436..c409c78 100644 --- a/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.solaris-smf +++ b/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.solaris-smf @@ -1,4 +1,24 @@ + <?xml version="1.0" ?> +<!-- + + 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. +--> + + <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> http://git-wip-us.apache.org/repos/asf/karaf/blob/3cb0a002/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.systemd ---------------------------------------------------------------------- diff --git a/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.systemd b/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.systemd index 012ec02..72954ec 100644 --- a/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.systemd +++ b/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service-template.systemd @@ -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. +# + [Unit] Description=Karaf - ${KARAF_SERVICE_NAME} After=syslog.target network.target
