Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
7d63312c
Commit
7d63312c
authored
Mar 16, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added config.debug.socket enable/disable io.sockets debug log
parent
ff18064a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
debomatic-webui/index.js
debomatic-webui/index.js
+6
-2
debomatic-webui/lib/config.js
debomatic-webui/lib/config.js
+3
-0
No files found.
debomatic-webui/index.js
View file @
7d63312c
...
@@ -12,8 +12,12 @@ var express = require('express')
...
@@ -12,8 +12,12 @@ var express = require('express')
var
app
=
module
.
exports
=
express
.
createServer
();
var
app
=
module
.
exports
=
express
.
createServer
();
//var io = require('socket.io').listen(app, { log: false }); // disable-log
var
io
;
var
io
=
require
(
'
socket.io
'
).
listen
(
app
);
if
(
config
.
debug
.
socket
)
io
=
require
(
'
socket.io
'
).
listen
(
app
);
else
io
=
require
(
'
socket.io
'
).
listen
(
app
,
{
log
:
false
});
// disable-log
// Configuration
// Configuration
app
.
configure
(
function
(){
app
.
configure
(
function
(){
...
...
debomatic-webui/lib/config.js
View file @
7d63312c
...
@@ -12,6 +12,9 @@ config.host = 'localhost'
...
@@ -12,6 +12,9 @@ config.host = 'localhost'
config
.
port
=
3000
config
.
port
=
3000
config
.
user
=
'
www-data
'
// who will run server [not fully tested yet]
config
.
user
=
'
www-data
'
// who will run server [not fully tested yet]
config
.
debug
=
{}
config
.
debug
.
socket
=
false
config
.
debomatic
=
{}
config
.
debomatic
=
{}
config
.
debomatic
.
path
=
'
/srv/debomatic-amd64
'
config
.
debomatic
.
path
=
'
/srv/debomatic-amd64
'
config
.
debomatic
.
jsonfile
=
'
/var/log/debomatic.json
'
config
.
debomatic
.
jsonfile
=
'
/var/log/debomatic.json
'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment