cloudstack/usage/src/com/cloud/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
..
parser CLOUDSTACK-9867: VM snapshot on primary storage usage metrics (#2035) 2017-12-28 14:57:10 +05:30
StorageTypes.java Cloudstack 10064: Secondary storage Usage for uploadedVolume is not collected (#2258) 2017-12-27 13:21:54 +05:30
UsageAlertManagerImpl.java Removed unnecessary @Local annotations and their respective imports from the ComponentLifecycleBase class and its subclasses. 2015-11-21 18:31:11 -02:00
UsageManager.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
UsageManagerImpl.java CLOUDSTACK-9867: VM snapshot on primary storage usage metrics (#2035) 2017-12-28 14:57:10 +05:30
UsageSanityChecker.java Fixed Resource Leaks, null dereferences, invalid value comparisons, invalid result set loop 2014-06-21 12:38:46 +02:00
UsageServer.java systemd: Fix -Dpid arg passing to systemd usage service (#3210) 2019-03-14 09:19:12 -03:00