You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below we configure service files for systemd. The commands follow, the config files are below the Nginx in the next section.
98
+
99
+
.. code-block:: console
100
+
101
+
cd /etc/systemd/system/
102
+
103
+
vi dojo.service
104
+
[contents below]
105
+
106
+
systemctl enable dojo
107
+
108
+
systemctl start dojo
109
+
110
+
systemctl status dojo
111
+
[ensure it launched OK]
112
+
113
+
vi celery-worker.service
114
+
[contents below]
115
+
116
+
systemctl enable celery-worker
117
+
118
+
systemctl start celery-worker
119
+
120
+
systemctl status celery-worker
121
+
[ensure it launched OK]
122
+
123
+
vi celery-beat.service
124
+
[contents below]
125
+
126
+
systemctl enable celery-beat
127
+
128
+
systemctl start celery-beat
129
+
130
+
systemctl status celery-beat
131
+
[ensure it launched OK]
132
+
133
+
83
134
*NGINX Configuration*
84
135
85
136
Everyone feels a little differently about nginx settings, so here are the barebones to add your to your nginx configuration to proxy uwsgi. Make sure to modify the filesystem paths if needed:
@@ -122,4 +173,68 @@ Everyone feels a little differently about nginx settings, so here are the barebo
0 commit comments