cloudstack/usage
Rohit Yadav f7327c7457 systemd: Fix -Dpid arg passing to systemd usage service (#3210)
* systemd: Fix -Dpid arg passing to systemd usage service

This fixes regression introduced by refactoring PR #3163 where `-Dpid`
was incorrectly passed string `$$` instead of parent PID integer.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

* fix systemd limitation, exec using /bin/sh instead and wrap in ${} syntax

https://www.freedesktop.org/software/systemd/man/systemd.service.html#Command%20lines

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

* usage: don't hide exception from Gabriel's https://github.com/apache/cloudstack/pull/3207/files#diff-062fcf5ae32de59dfd6cd4f780e1d7cd

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2019-03-14 09:19:12 -03:00
..
conf add date to usage server logs 2018-10-06 17:20:17 +01:00
distro CLOUDSTACK-7633: fix "Provides" in most LSB headers 2014-09-25 16:56:53 +02:00
resources CLOUDSTACK-9456: Update Spring version in maven poms 2016-12-16 21:21:20 +05:30
src/com/cloud/usage systemd: Fix -Dpid arg passing to systemd usage service (#3210) 2019-03-14 09:19:12 -03:00
test CLOUDSTACK-10012: Migrate to Embedded Jetty 2017-11-03 23:57:25 +05:30
pom.xml Updating pom.xml version numbers for release 4.11.3.0-SNAPSHOT 2018-11-20 13:11:52 +00:00