Github user remibergsma commented on the pull request:

    https://github.com/apache/cloudstack/pull/1162#issuecomment-162644589
  
    LGTM:
    
    Old default behaviour is to enable service:
    ```
    [root@cs1 x86_64]# cloudstack-setup-management --tomcat7 
    Starting to configure CloudStack Management Server:
    Configure Firewall ...        [OK]
    Configure CloudStack Management Server ...[OK]
    CloudStack Management Server setup is Done!
    [root@cs1 x86_64]# ls -la 
/etc/systemd/system/multi-user.target.wants/cloudstack-management.service
    lrwxrwxrwx. 1 root root 53 Dec  7 20:03 
/etc/systemd/system/multi-user.target.wants/cloudstack-management.service -> 
/usr/lib/systemd/system/cloudstack-management.service
    ```
    
    And with extra option it is not enabled:
    
    ```
    [root@cs1 x86_64]# systemctl disable cloudstack-management
    rm 
'/etc/systemd/system/multi-user.target.wants/cloudstack-management.service'
    [root@cs1 x86_64]# ls -la 
/etc/systemd/system/multi-user.target.wants/cloudstack-management.service
    ls: cannot access 
/etc/systemd/system/multi-user.target.wants/cloudstack-management.service: No 
such file or directory
    [root@cs1 x86_64]# cloudstack-setup-management --tomcat7 --no-start
    Starting to configure CloudStack Management Server:
    Configure Firewall ...        [OK]
    Configure CloudStack Management Server ...Configured successfully, but not 
starting management server.
    [OK]
    CloudStack Management Server setup is Done!
    [root@cs1 x86_64]# ls -la 
/etc/systemd/system/multi-user.target.wants/cloudstack-management.service
    ls: cannot access 
/etc/systemd/system/multi-user.target.wants/cloudstack-management.service: No 
such file or directory
    ```


---
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