Repository: cloudstack Updated Branches: refs/heads/master b6fe4e216 -> 7cd2b2ae8
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/7cd2b2ae Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/7cd2b2ae Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/7cd2b2ae Branch: refs/heads/master Commit: 7cd2b2ae89a3c10fd932031104df85fa08d5ae4f Parents: b6fe4e2 Author: Wido den Hollander <[email protected]> Authored: Wed Mar 26 13:31:02 2014 +0100 Committer: Wido den Hollander <[email protected]> Committed: Wed Mar 26 13:31:02 2014 +0100 ---------------------------------------------------------------------- packaging/debian/init/cloud-agent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7cd2b2ae/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
