Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
73088757
Commit
73088757
authored
Jul 16, 2016
by
Yadd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add reload target (closes: #1060)
parent
44a99ce3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
_example/etc/handler-nginx.conf
_example/etc/handler-nginx.conf
+1
-0
fastcgi-server/sbin/llng-fastcgi-server
fastcgi-server/sbin/llng-fastcgi-server
+4
-0
No files found.
_example/etc/handler-nginx.conf
View file @
73088757
...
...
@@ -26,6 +26,7 @@ server {
deny
all
;
include
/
etc
/
nginx
/
fastcgi_params
;
fastcgi_pass
unix
:
__
FASTCGISOCKDIR__
/
llng
-
fastcgi
.
sock
;
fastcgi_param
LLTYPE
reload
;
}
# Client requests
...
...
fastcgi-server/sbin/llng-fastcgi-server
View file @
73088757
...
...
@@ -41,6 +41,10 @@ my %builder = (
require
Lemonldap::NG::Handler::
Nginx
;
return
Lemonldap::NG::Handler::
Nginx
->
run
(
{}
);
},
reload
=>
sub
{
require
Lemonldap::NG::Handler::
Nginx
;
return
Lemonldap::NG::Handler::
Nginx
->
reload
();
},
status
=>
sub
{
require
Lemonldap::NG::Handler::
Nginx
;
return
Lemonldap::NG::Handler::
Nginx
->
status
();
...
...
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