Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
slapos
Commits
1e0fbe66
Commit
1e0fbe66
authored
Sep 04, 2018
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/cloudooo: use XORG_LOCK_DIR
and stop using xvfb recipe in favour of a simple wrapper
parent
b3711a6c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
9 deletions
+15
-9
software/cloudooo/buildout.hash.cfg
software/cloudooo/buildout.hash.cfg
+1
-1
software/cloudooo/instance-cloudooo.cfg.in
software/cloudooo/instance-cloudooo.cfg.in
+14
-8
No files found.
software/cloudooo/buildout.hash.cfg
View file @
1e0fbe66
...
@@ -18,4 +18,4 @@ md5sum = 6e4431cf4b0a0d034402604b1e2844c0
...
@@ -18,4 +18,4 @@ md5sum = 6e4431cf4b0a0d034402604b1e2844c0
[template-cloudooo-instance]
[template-cloudooo-instance]
filename = instance-cloudooo.cfg.in
filename = instance-cloudooo.cfg.in
md5sum =
6ec2461e884761c56ef4ba928a8eede
6
md5sum =
31ed5c856ce2dff0305d7029caefc3f
6
software/cloudooo/instance-cloudooo.cfg.in
View file @
1e0fbe66
...
@@ -271,17 +271,23 @@ var = ${buildout:directory}/var
...
@@ -271,17 +271,23 @@ var = ${buildout:directory}/var
framebuffer = ${:srv}/framebuffer
framebuffer = ${:srv}/framebuffer
[xvfb-instance]
[xvfb-instance]
recipe = slapos.cookbook:xvfb
recipe = slapos.cookbook:wrapper
runner-path = ${directory:services}/xvfb
wrapper-path = ${directory:services}/${:_buildout_section_name_}
xvfb-path = {{ parameter_dict["xserver"] }}/bin/Xvfb
command-line =
fbdir-path = ${directory:framebuffer}
{{ parameter_dict["xserver"] }}/bin/Xvfb
tmp-path = ${directory:run}
${:display}
shell-path = {{ parameter_dict["dash"] }}/bin/dash
-screen 0 1024x768x24
-fbdir ${directory:framebuffer}
environment =
XORG_LOCK_DIR=${:lock-dir}
display = :0
lock-dir = ${directory:run}
[wkhtmltopdf-on-xvfb]
[wkhtmltopdf-on-xvfb]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
wrapper-path = ${directory:bin}/wkhtmltopdf
wrapper-path = ${directory:bin}/wkhtmltopdf
environment =
environment =
DISPLAY=
:0
DISPLAY=
${xvfb-instance:display}
TMPDIR=${directory:run
}
XORG_LOCK_DIR=${xvfb-instance:lock-dir
}
command-line = {{ parameter_dict['wkhtmltopdf'] }}/wkhtmltopdf --use-xserver
command-line = {{ parameter_dict['wkhtmltopdf'] }}/wkhtmltopdf --use-xserver
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