Github user vincentbernat commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1541#discussion_r73830730
  
    --- Diff: debian/rules ---
    @@ -5,9 +5,18 @@ PACKAGE = $(shell dh_listpackages|head -n 1|cut -d '-' -f 
1)
     SYSCONFDIR = "/etc"
     DESTDIR = "debian/tmp"
     
    +ifeq ($(shell lsb_release -sr), 14.04)
    +        SUBSTVARS = -Vjre:Depends="openjdk-7-jre-headless" 
-Vjdk:Depends="openjdk-7-jdk" -Vinit:"Depends:jsvc"
    +else
    +        SUBSTVARS = -Vjre:Depends="openjdk-8-jre-headless" 
-Vjdk:Depends="openjdk-8-jdk" -Vinit:"Depends:systemd"
    +endif
    +
     %:
        dh $@ --with python2
    --- End diff --
    
    You need to do `--with python2,systemd`. Otherwise, systemd unit won't be 
enabled automatically and the integration won't happen (no restart of the 
service on upgrade for example).


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to