src.nth.io/

summaryrefslogtreecommitdiff
path: root/oragono
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-09-05 19:27:02 -0500
committerLuke Hoersten <[email protected]>2020-09-05 19:27:02 -0500
commit95c0693bc586b331c4d140b9e85872159bc02988 (patch)
treedbd6aa4dbcd08ec066eacd750b7ce34f92898308 /oragono
parentc9c617dd1efa1d86a7e6e37d8244bc2af0ea8c69 (diff)
Moved oragono socket to more persistent location.
Diffstat (limited to 'oragono')
-rw-r--r--oragono/files/oragono.service (renamed from oragono/templates/oragono.service.j2)0
-rw-r--r--oragono/tasks/main.yaml5
-rw-r--r--oragono/templates/nginx.conf.j22
-rw-r--r--oragono/templates/oragono.yaml.j22
4 files changed, 4 insertions, 5 deletions
diff --git a/oragono/templates/oragono.service.j2 b/oragono/files/oragono.service
index f751ec0..f751ec0 100644
--- a/oragono/templates/oragono.service.j2
+++ b/oragono/files/oragono.service
diff --git a/oragono/tasks/main.yaml b/oragono/tasks/main.yaml
index 1a06173..f2c982d 100644
--- a/oragono/tasks/main.yaml
+++ b/oragono/tasks/main.yaml
@@ -34,7 +34,6 @@
loop:
- "/etc"
- "/var"
- - "/run"
- name: configure oragono
become: yes
@@ -55,8 +54,8 @@
- name: install oragono service
become: yes
- template:
- src: "oragono.service.j2"
+ copy:
+ src: "oragono.service"
dest: "/lib/systemd/system/oragono.service"
mode: "0644"
notify: restart oragono
diff --git a/oragono/templates/nginx.conf.j2 b/oragono/templates/nginx.conf.j2
index 31089c8..2cedd56 100644
--- a/oragono/templates/nginx.conf.j2
+++ b/oragono/templates/nginx.conf.j2
@@ -1,6 +1,6 @@
server {
listen 6697 ssl;
- proxy_pass unix:/run/oragono/socket;
+ proxy_pass unix:/var/oragono/oragono.socket;
proxy_protocol on;
ssl_certificate {{nginx_ssl_cert}};
diff --git a/oragono/templates/oragono.yaml.j2 b/oragono/templates/oragono.yaml.j2
index 5344683..3619c6a 100644
--- a/oragono/templates/oragono.yaml.j2
+++ b/oragono/templates/oragono.yaml.j2
@@ -58,7 +58,7 @@ server:
# proxy: false
# Example of a Unix domain socket for proxying:
- "/run/oragono/socket":
+ "/var/oragono/oragono.socket":
# Example of a Tor listener: any connection that comes in on this listener will
# be considered a Tor connection. It is strongly recommended that this listener