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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
slapos
Commits
00732906
Commit
00732906
authored
Oct 26, 2022
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
peertube: service fixup
parent
cc04abf8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
software/peertube/instance.cfg.in
software/peertube/instance.cfg.in
+2
-2
software/peertube/software.cfg
software/peertube/software.cfg
+1
-2
software/peertube/template-peertube-service.sh.in
software/peertube/template-peertube-service.sh.in
+3
-1
No files found.
software/peertube/instance.cfg.in
View file @
00732906
...
...
@@ -6,11 +6,11 @@ parts =
service-redis
promise-redis
postgresql
nginx-service
nginx-listen-promise
peertube-yaml
nginx-service
peertube-service
publish-connection-parameter
nginx-listen-promise
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
...
...
software/peertube/software.cfg
View file @
00732906
...
...
@@ -68,8 +68,7 @@ path = ${peertube:location}
environment =
PATH=${unzip:location}/bin:${vim:location}/bin:${nodejs:location}/bin:${yarn:location}/bin:${python3:location}/bin:${nginx:location}/sbin:${postgresql10:location}/bin:${gcc-10.2:location}/bin:${redis:location}/bin:{git:location}/bin:{wget:location}/bin:%(PATH)s
CPPFLAGS=-I${openssl:location}/include
LDFLAGS=-L${curl:location}/lib -Wl,-rpath -Wl,${openssl:location}/lib -Wl, -L${libvpx:location}/lib -Wl,-rpath=${libvpx:location}/lib -rpath -Wl
LD_LIBRARY_PATH=${libvpx:location}/lib
LDFLAGS=-L${curl:location}/lib -Wl,-rpath -Wl,${openssl:location}/lib -Wl
pre-configure =
${yarn:location}/bin/yarn install --production --pure-lockfile
configure-command = true
...
...
software/peertube/template-peertube-service.sh.in
View file @
00732906
...
...
@@ -28,5 +28,7 @@ while true; do
done
echo "I: PostgreSQL ready." 1>&2
exec env NODE_ENV=production NODE_CONFIG_DIR=$${directory:config} PATH=${ffmpeg:location}/bin:$PATH\
cd ${peertube:location}
exec env NODE_ENV=peertube NODE_CONFIG_DIR=$${directory:config} PATH=${ffmpeg:location}/bin:$PATH\
${nodejs:location}/bin/node ${peertube:location}/dist/server
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