debian: Add JNA flag when starting agent In some situations local JNA libraries might prevent the agent from starting.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a42160f1 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a42160f1 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a42160f1 Branch: refs/heads/4.3 Commit: a42160f1e236fff4414bf1eee8daf5e0aa979c90 Parents: aa9f29b Author: Wido den Hollander <[email protected]> Authored: Wed Mar 26 13:31:02 2014 +0100 Committer: Wido den Hollander <[email protected]> Committed: Fri Apr 11 09:03:46 2014 +0200 ---------------------------------------------------------------------- packaging/debian/init/cloud-agent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a42160f1/packaging/debian/init/cloud-agent ---------------------------------------------------------------------- diff --git a/packaging/debian/init/cloud-agent b/packaging/debian/init/cloud-agent index e733875..ff550bb 100755 --- a/packaging/debian/init/cloud-agent +++ b/packaging/debian/init/cloud-agent @@ -96,7 +96,7 @@ start() { wait_for_network - if start_daemon -p $PIDFILE $DAEMON -cp "$CLASSPATH" -pidfile "$PIDFILE" -errfile SYSLOG $CLASS + if start_daemon -p $PIDFILE $DAEMON -cp "$CLASSPATH" -Djna.nosys=true -pidfile "$PIDFILE" -errfile SYSLOG $CLASS RETVAL=$? then rc=0
