Github user karuturi commented on a diff in the pull request:
https://github.com/apache/cloudstack/pull/888#discussion_r42110792
--- Diff: packaging/centos7/cloud-management.service ---
@@ -15,22 +15,19 @@
# specific language governing permissions and limitations
# under the License.
-# Systemd unit file for CloudStack Management server
-#
-# clone tomcat service, see /usr/lib/systemd/system/tomcat.service
-
[Unit]
Description=CloudStack Management Server
After=syslog.target network.target
[Service]
Type=forking
-ExecStart=/usr/sbin/tomcat-sysd start
-ExecStop=/usr/sbin/tomcat-sysd stop
+PermissionsStartOnly=true
+ExecStartPre=/usr/bin/systemd-tmpfiles --create
+ExecStart=/usr/sbin/cloudstack-management start
--- End diff --
I see a similar change in
4.5:packaging/centos63/rhel7/cloud-management.service
```
[Service]
Type=forking
ExecStartPre=/usr/bin/systemd-tmpfiles --create
ExecStart=/usr/sbin/cloudstack-management start
ExecStop=/usr/sbin/cloudstack-management stop
SuccessExitStatus=143
User=cloud
Group=cloud
```
---
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 [email protected] or file a JIRA ticket
with INFRA.
---