Commit Graph

5 Commits

Author SHA1 Message Date
Hugo Trippaers 2c019cc645 CLOUDSTACK-2033 Fix usage server startup and logging
Properly implement the Daemon interface

Initialize logging when the usage server is started as a daemon

Fix a few minor startup and packaging items.
2013-04-17 01:31:07 +01:00
Hugo Trippaers 62d7dc9d37 Summary: Packaging fixes for usage
Make the usage server look in the /etc/cloudstack/usage server for the db.properties

Add the /etc/cloudstack/usage to the package as an empty dir
(cherry picked from commit d92725e846)

Separate stderr and stdout output from jsvc
(cherry picked from commit 0fa3ed9b74)

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-26 20:26:37 +01:00
Hugo Trippaers 39595d826e Capture stderr and stdout of the jsvc run services (agent and usage)(cherry picked from commit bc4abcf14d)
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-25 14:13:27 +01:00
Hugo Trippaers 5b8ecdad0b Summary: Fixup usage server for packaging
Make the start method work again with jsvc

Move the usageApplicationContext to resources and add resources to the pom.xml

Remove the old components file

Add mysql-connector as a runtime dependency

Rename the usage package and the files to cloudstack

Change paths to the new proposed locations
(cherry picked from commit 7ce03b4f8e)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:11:42 +01:00
Hugo Trippaers ca7b8b0a87 Package the usage server 2013-01-29 16:23:14 +01:00