Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
24091c52
Unverified
Commit
24091c52
authored
Sep 02, 2020
by
Jakub Klinkovský
Browse files
nginx: use reload instead of restart when nginx configuration changes
parent
fc23daf5
Changes
3
Hide whitespace changes
Inline
Side-by-side
roles/fluxbb/tasks/main.yml
View file @
24091c52
...
...
@@ -32,7 +32,7 @@
template
:
>
src=nginx.conf.j2 dest=/etc/nginx/nginx.d/fluxbb.conf
owner=root group=root mode=0644
notify
:
re
start
nginx
notify
:
re
load
nginx
-
name
:
install python-passlib
pacman
:
name=python-passlib
...
...
roles/nginx/handlers/main.yml
View file @
24091c52
---
-
name
:
restart nginx
service
:
name=nginx state=restarted
-
name
:
reload nginx
service
:
name=nginx state=reloaded
roles/nginx/tasks/main.yml
View file @
24091c52
...
...
@@ -9,7 +9,7 @@
-
name
:
configure nginx
template
:
src=nginx.conf.j2 dest=/etc/nginx/nginx.conf owner=root group=root mode=0644
notify
:
-
re
start
nginx
-
re
load
nginx
-
name
:
snippets directories
file
:
state=directory path=/etc/nginx/{{ item }} owner=root group=root mode=0755
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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