Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
lemonldap-ng
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
258
Issues
258
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LemonLDAP NG
lemonldap-ng
Commits
12e50946
Commit
12e50946
authored
Jan 29, 2016
by
Yadd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Manage reload for plackup
parent
a61ef892
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
Makefile
Makefile
+12
-7
No files found.
Makefile
View file @
12e50946
...
...
@@ -327,13 +327,7 @@ start_web_server: all prepare_test_server
-c
`
pwd
`
/e2e-tests/nginx.conf
\
2>&1 |
grep
-v
'Permission denied'
||
true
;
\
echo
"Launching plackup"
;
\
/sbin/start-stop-daemon
--start
\
--pidfile
e2e-tests/conf/plackup.pid
\
-d
`
pwd
`
-b
-m
\
--exec
/usr/bin/plackup
--
\
-s
FCGI
\
--listen
e2e-tests/conf/llng.sock
\
e2e-tests/handler-server.psgi
;
\
$(MAKE)
plackup
;
\
else
\
echo
"!!!!! Unknown test server:
$(TESTWEBSERVER)
!!!!!"
>
&2
;
\
exit
1
;
\
...
...
@@ -345,6 +339,8 @@ reload_web_server:
LLNG_DEFAULTCONFFILE
=
`
pwd
`
/e2e-tests/conf/lemonldap-ng.ini /usr/sbin/apache2
-d
`
pwd
`
/e2e-tests
-f
apache2.conf
-k
graceful
;
\
elif
[
-e
e2e-tests/conf/nginx.pid
]
;
then
\
kill
-HUP
`
cat
e2e-tests/conf/nginx.pid
`
;
\
kill
`
cat
e2e-tests/conf/plackup.pid
`
||
true
;
\
$(MAKE)
plackup
;
\
else
\
$(MAKE)
start_web_server
;
\
fi
...
...
@@ -365,6 +361,15 @@ stop_web_server:
restart_web_server
:
start_web_server
plackup
:
@
/sbin/start-stop-daemon
--start
\
--pidfile
e2e-tests/conf/plackup.pid
\
-d
`
pwd
`
-b
-m
\
--exec
/usr/bin/plackup
--
\
-s
FCGI
\
--listen
e2e-tests/conf/llng.sock
\
e2e-tests/handler-server.psgi
#
# INSTALL
#
...
...
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