[ https://issues.apache.org/jira/browse/CLOUDSTACK-8840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14744098#comment-14744098 ]
ASF GitHub Bot commented on CLOUDSTACK-8840: -------------------------------------------- Github user remibergsma commented on the pull request: https://github.com/apache/cloudstack/pull/820#issuecomment-140185056 @wido I get this error when I run `./package.sh -d centos7` ``` install: cannot stat ‘packaging/cloudstack-usage.service’: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.biFx59 (%install) ``` > Update systemd profile for usage server > --------------------------------------- > > Key: CLOUDSTACK-8840 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8840 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Usage > Reporter: Wido den Hollander > Assignee: Wido den Hollander > Labels: systemd > Fix For: 4.6.0 > > > Currently there is a systemd profile for the usage server, but it is not > packaged properly and can be improved much. > We should align this with the Agent systemd profile. > In /usr/libexec/cloudstack there should be a wrapper which does the actual > Java invoke and the wrapper is invoked by systemd. > Output of the usage server should go to stdout as well so it is catched by > journalctl. -- This message was sent by Atlassian JIRA (v6.3.4#6332)