phantom_proxy 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/phantom_proxy.rb +1 -0
- data/lib/phantom_proxy/install/phproxy +3 -3
- metadata +1 -1
data/lib/phantom_proxy.rb
CHANGED
@@ -5,6 +5,7 @@ module PhantomJSProxy
|
|
5
5
|
SCRIPT = ROOT+"/phantom_proxy/scripts/proxy.js"
|
6
6
|
CONTROL_PANEL = ROOT+"/phantom_proxy/web/control_panel.html"
|
7
7
|
PHANTOMJS_BIN = 'phantomjs'#ROOT+'/phantom_proxy/vendor/bin/phantomjs'
|
8
|
+
PHANTOMJS_SERVICE_SCRIPT = ROOT+"/phantom_proxy/install/phproxy"
|
8
9
|
end
|
9
10
|
|
10
11
|
require PhantomJSProxy::ROOT+'/phantom_proxy/phantomjs.rb'
|
@@ -13,9 +13,9 @@
|
|
13
13
|
### README
|
14
14
|
#
|
15
15
|
# You can put a configfile at
|
16
|
-
#
|
16
|
+
# /etc/phantom_proxy/config
|
17
17
|
# or
|
18
|
-
# put several files into a folder at
|
18
|
+
# put several files into a folder at /etc/phantom_proxy/config
|
19
19
|
# all files are loaded and one instance is created per file(CAUTION!! you have to set a unique PP_PID_NAME for each instance)
|
20
20
|
#
|
21
21
|
# Options you can set are:
|
@@ -55,7 +55,7 @@ PP_LOG()
|
|
55
55
|
|
56
56
|
PP_CONFIG()
|
57
57
|
{
|
58
|
-
echo "/
|
58
|
+
echo "/etc/$PP_NAME/config"
|
59
59
|
}
|
60
60
|
|
61
61
|
PP_LOG_FILE()
|