You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2016/08/26 18:19:59 UTC
[3/4] git commit: updated refs/heads/master to 38259a9
Merge pull request #1647 from apache/4.9-systemdubuntupkging
[lts] CLOUDSTACK-9462: Systemd support for Ubuntu 16.04Created this based on @wido 's origin PR #1541 .
Requesting for review and testing -- @jburwell @karuturi @wido @vincentbernat
@wido I think this change only brings systemd support to agent and usage packages, or does cloudstack-management pkg has systemd support too?
@blueorangutan package
- systemd: Add a /etc/sysconfig/cloudstack-* file
This allows users to easily override variables passed to Java when
starting up.
It also creates a foundation for sharing the systemd service profile
between CentOS and Ubuntu since it only requires the environment file
to be changed.
- deb: Add Ubuntu 16.04 support
Ubuntu 16.04 differs from Ubuntu 14.04 in a few ways:
- systemd instead of sysvinit / upstart
- Java 8 support
The packaging now detects on which distribution it is being
build and based on that it installs different files in the
packages, but it also changes the Dependencies.
* pr/1647:
CLOUDSTACK-9462: Refactor systemd scripts
CLOUDSTACK-9462: Systemd support for Ubuntu 16.04
Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f7d6fea8
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f7d6fea8
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f7d6fea8
Branch: refs/heads/master
Commit: f7d6fea821ee6b69ff3fd6ed6c007f8851fee012
Parents: d6e9045 c8a52c9
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Fri Aug 26 23:44:58 2016 +0530
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Fri Aug 26 23:47:44 2016 +0530
----------------------------------------------------------------------
debian/cloudstack-agent.dirs | 1 +
debian/cloudstack-agent.install | 2 +-
debian/cloudstack-usage.dirs | 1 +
debian/cloudstack-usage.install | 2 +-
debian/control | 10 +-
debian/rules | 25 ++-
packaging/README.md | 39 +++++
packaging/build-deb.sh | 53 ++++++
packaging/centos7/cloud-management.service | 40 -----
packaging/centos7/cloud-management.sysconfig | 49 ------
packaging/centos7/cloud.spec | 18 +-
packaging/debian/cloudstack-agent.init | 170 +++++++++++++++++++
packaging/debian/cloudstack-usage.init | 154 +++++++++++++++++
packaging/debian/init/cloud-agent | 170 -------------------
packaging/debian/init/cloud-usage | 154 -----------------
packaging/systemd/cloudstack-agent.default | 21 +++
packaging/systemd/cloudstack-agent.service | 7 +-
packaging/systemd/cloudstack-management.default | 49 ++++++
packaging/systemd/cloudstack-management.service | 40 +++++
packaging/systemd/cloudstack-usage.default | 22 +++
packaging/systemd/cloudstack-usage.service | 8 +-
pom.xml | 2 +
22 files changed, 597 insertions(+), 440 deletions(-)
----------------------------------------------------------------------