diff options
| author | Luke Hoersten <[email protected]> | 2020-07-05 10:25:32 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2020-07-05 10:25:32 -0500 |
| commit | d67fdf8ed71f6927a00cf6bc812777091e5a026d (patch) | |
| tree | 65c745a68f570fa1f312123187f57cdb64c42bdf /nginx/handlers | |
| parent | 79880c1df8fd49110486051df059f259a1a7d08f (diff) | |
Added nginx and oragono HUP reloading to systemd handlers. Added nginx config.
Diffstat (limited to 'nginx/handlers')
| -rw-r--r-- | nginx/handlers/main.yaml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nginx/handlers/main.yaml b/nginx/handlers/main.yaml index 1feca07..00e05bf 100644 --- a/nginx/handlers/main.yaml +++ b/nginx/handlers/main.yaml @@ -2,4 +2,8 @@ - name: restart nginx become: yes - systemd: name="nginx" state="restarted" daemon_reload="yes" + systemd: name="nginx.service" state="restarted" daemon_reload="yes" + +- name: reload nginx + become: yes + systemd: name="nginx.service" state="reloaded" daemon_reload="yes" |
