cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vincentbernat <>
Subject [GitHub] cloudstack pull request #1541: Systemd packaging for Ubuntu 16.04
Date Mon, 08 Aug 2016 07:16:50 GMT
Github user vincentbernat commented on a diff in the pull request:
    --- Diff: debian/rules ---
    @@ -116,17 +132,24 @@ override_dh_auto_install:
     	# cloudstack-usage
     	mkdir $(DESTDIR)/$(SYSCONFDIR)/$(PACKAGE)/usage
    -	mkdir $(DESTDIR)/var/log/$(PACKAGE)/usage
     	mkdir $(DESTDIR)/usr/share/$(PACKAGE)-usage
     	mkdir $(DESTDIR)/usr/share/$(PACKAGE)-usage/plugins
     	install -D usage/target/cloud-usage-$(VERSION).jar $(DESTDIR)/usr/share/$(PACKAGE)-usage/lib/$(PACKAGE)-usage.jar
     	install -D usage/target/dependencies/* $(DESTDIR)/usr/share/$(PACKAGE)-usage/lib/
     	cp usage/target/transformed/ $(DESTDIR)/$(SYSCONFDIR)/$(PACKAGE)/usage/
     	cp usage/target/transformed/log4j-cloud_usage.xml $(DESTDIR)/$(SYSCONFDIR)/$(PACKAGE)/usage/log4j-cloud.xml
    -	install -D packaging/debian/init/cloud-usage $(DESTDIR)/$(SYSCONFDIR)/init.d/$(PACKAGE)-usage
    +	install -d -m0755 debian/$(PACKAGE)-usage/etc/init.d
    +	install -D -m0755 packaging/debian/$(PACKAGE)-usage.init debian/$(PACKAGE)-usage/etc/init.d/$(PACKAGE)-usage
    +	install -d -m0755 debian/$(PACKAGE)-usage/lib/systemd/system
    +	install -m0644 packaging/debian/$(PACKAGE)-usage.service debian/$(PACKAGE)-usage/lib/systemd/system/$(PACKAGE)-usage.service
    +	install -m0644 packaging/debian/$(PACKAGE)-usage.default $(DESTDIR)/$(SYSCONFDIR)/default/$(PACKAGE)-usage
     	dh_installinit -pcloudstack-management -pcloudstack-agent -pcloudstack-usage --onlyscripts
    +	dh_systemd_enable -pcloudstack-agent -pcloudstack-usage
    --- End diff --
    This bit needs the `--with systemd` bit mentioned above.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message