-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpjbserver.config.php.dist
54 lines (46 loc) · 1.62 KB
/
pjbserver.config.php.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
/**
* Example configuration file to use in console mode with.
*
* $ ./bin/pjbserver-tools pjbserver:start 8089 --config-file=<config-file>
*
* You can adapt for your own need, but don't edit this file directly...
* as *.dist files are overwritten on update (git pull...)
*/
$tcp_port = 8089;
return [
/* Port on which the standalone server listen */
'port' => $tcp_port,
/*
* Location of log and pid files...
* Defaults is to put them in the project 'pjbserver-tools/var/...' directory
* which is fine for unit testing, but to prevent loosing those files
* set a safe directory (not /tmp as it might be cleared by the OS)
*/
//'log_file' => "/my/path/var/pjbserver-port${tcp_port}.log",
//'pid_file' => "/my/path/var/pjbserver-port${tcp_port}.pid",
/* Specify here additional jar files or directory */
'classpaths' => [
// '/my/path/autoload/*.jar',
// '/my/path/mylib.jar'
],
/* Standalone server tuning
- Number of threads for standalone server is 50, increase if needed
*/
//'threads' => 60,
/*
* Java binary, if not in path you can
* specify its location here, for example:
* - '/usr/bin/java' or
* - '/usr/lib/jvm/java-8-oracle/bin/java'
* - ...
*/
'java_bin' => 'java',
/*
* Location of the JavaBridge.jar,
* Default is to use the default (included) one
* available in pjbserver-tools/resources/pjb61_standalone/JavaBridge.jar
*/
//'server_jar' => "/my/path/pjb621_standalone/JavaBridge.jar",
//'server_jar' => "/my/path/pjb713_standalone/JavaBridge.jar",
];