[ https://issues.apache.org/jira/browse/CLOUDSTACK-8625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14742470#comment-14742470 ]
ASF GitHub Bot commented on CLOUDSTACK-8625: -------------------------------------------- GitHub user wido opened a pull request: https://github.com/apache/cloudstack/pull/813 CLOUDSTACK-8625: Systemd profile for CloudStack Agent With CentOS 7 and Ubuntu 16.04 (to be released) using systemd it is preferred that CloudStack's Agent is also being started using systemd. This commit includes a service file for the CloudStack Agent with a wrapper script which actually executes Java It no longer uses jsvc for daemonizing and thus this requirement has also been dropped for CentOS 7 packaging. The Agent log output to stdout has also been modified to no longer include the timestamp as this is done by journalctl. This has been tested on a CentOS 7.1 machine and the Agent starts, stops and restarts properly. You can merge this pull request into a Git repository by running: $ git pull https://github.com/wido/cloudstack CLOUDSTACK-8625 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/813.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #813 ---- commit 612c7ebf403cdafd3355d8b30f03885cb0f340d6 Author: Wido den Hollander <w...@widodh.nl> Date: 2015-09-13T13:12:29Z CLOUDSTACK-8625: Systemd profile for CloudStack Agent With CentOS 7 and Ubuntu 16.04 (to be released) using systemd it is preferred that CloudStack's Agent is also being started using systemd. This commit includes a service file for the CloudStack Agent with a wrapper script which actually executes Java It no longer uses jsvc for daemonizing and thus this requirement has also been dropped for CentOS 7 packaging. The Agent log output to stdout has also been modified to no longer include the timestamp as this is done by journalctl. This has been tested on a CentOS 7.1 machine and the Agent starts, stops and restarts properly. ---- > Systemd profile for KVM Agent > ----------------------------- > > Key: CLOUDSTACK-8625 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8625 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the > default.) > Components: KVM > Environment: Ubuntu 16.04, CentOS 7.X > Reporter: Wido den Hollander > Labels: agent, kvm, systemd > Fix For: Future > > > We currently only support sysvinit, but with CentOS and Ubuntu both moving to > Systemd we should support systemd. > To do this we can: > - Loose JSVC > - Log to stdout and let systemd / journalctl handling the logging -- This message was sent by Atlassian JIRA (v6.3.4#6332)