Jerry Vonau
ea7b661a49
unused
2021-05-25 00:04:33 +00:00
Jerry Vonau
2ebe521d09
supervisor files - templated
...
supervisor files - defaults
supervisor into play
2021-05-24 23:54:06 +00:00
Jerry Vonau
9428108e96
supervisor files
2021-05-23 20:37:30 +00:00
Jerry Vonau
8aab507a13
EnvironmentFile
2021-05-19 19:00:05 -05:00
Jerry Vonau
be0c12c42b
OPWEN_SETTINGS for settings.env
2021-05-19 19:00:05 -05:00
Jerry Vonau
45dcf7214e
OPWEN_SETTINGS
...
From an install.py machine where supervisord is used this value is passed
pi@jv-rpi-stock:~ $ cat /etc/supervisor/conf.d/lokole_gunicorn.conf
[program:lokole_gunicorn]
command="/lokole/venv/bin/gunicorn" --bind="unix:/lokole/state/lokole_gunicorn.sock" --timeout=300 --workers=3 --log-level=error opwen_email_client.webapp:app
autostart=true
autorestart=true
startretries=3
stopasgroup=true
stderr_logfile=/lokole/logs/lokole_gunicorn.stderr.log
stdout_logfile=/lokole/logs/lokole_gunicorn.stdout.log
user=root
environment=OPWEN_SETTINGS=/lokole/state/settings.env
2021-05-19 06:42:34 -05:00
Jerry Vonau
a85418df12
Lokole system user
2021-05-18 17:01:08 -05:00
Jerry Vonau
8eb713a1c8
soft code
2021-05-14 19:46:56 -05:00
Jerry Vonau
743db0a11f
remove extra /
2021-05-14 19:40:04 -05:00
Jerry Vonau
787f12c468
python_ver
2021-05-14 18:51:29 -05:00
Jerry Vonau
a7811787fa
export variables
2021-05-14 18:17:23 -05:00
Jerry Vonau
1942ea206a
nginx config file
2021-05-14 18:07:52 -05:00
A Holt
54b6219b22
Rename restarter.service.j2 to lokole_restarter.service.j2 & use Ansible norm
2020-09-09 20:27:53 -04:00
A Holt
41a91beccd
Ansible norm in lokole/templates/celerybeat.service.j2
2020-09-09 20:26:21 -04:00
A Holt
fbcbc82050
Ansible norm in lokole/templates/celery.service.j2
2020-09-09 20:25:09 -04:00
Jerry Vonau
764039df05
Before= After= based on order of appearence in main.yml
2020-09-09 15:02:24 +01:00
Jerry Vonau
2775c7600a
remove .sh files
2020-09-09 14:51:28 +01:00
Jerry Vonau
968d2892d9
try cmdline in service file without helper scripts
2020-09-09 14:51:28 +01:00
Adam Sclafani
88779966a1
add webapp restarter daemon
2020-09-09 14:51:28 +01:00
Vagrant Default User
fe1f037e16
add celery service
2020-09-09 14:51:28 +01:00
root
fff83cd5fb
Refine @jvonau\'s \'Move NGINX shims to roles\'
2020-01-12 12:12:49 -05:00
Jerry Vonau
79c5c34182
move SHIMS
2020-01-11 23:33:07 -06:00
Aidan Fitzgerald
dc98b73c51
Add OPWEN_SIM_TYPE env variable
...
Signed-off-by: Aidan Fitzgerald <acf67@cornell.edu>
2019-07-08 20:33:12 -07:00
Clemens Wolff
382fa66570
Update right side of Lokole email address
...
Previously, the email address appeared as `username@iiab-box.lokole.ca`.
With this change, the email address appears as `username@box.lan`
See https://github.com/iiab/iiab/issues/1293
2018-11-12 09:30:25 -05:00
A Holt
6c0deea8cc
Update lokole.conf.j2
2018-11-04 01:33:09 -04:00
rgangela99
7920722aa3
Add /lokole/ to path for links from webapp
2018-11-03 02:36:29 -04:00
rgangela99
0675ad8777
add systemd service and add task to compile translations
2018-11-03 02:36:29 -04:00
Aidan Fitzgerald
d1e68050e8
Use Apache's domain socket URI syntax
2018-11-03 02:36:29 -04:00
Aidan Fitzgerald
8f2cfea186
/static only contains static content, not attachments
...
This reverts commit cf75610fcf
.
2018-11-03 02:36:29 -04:00
Aidan Fitzgerald
656e321454
Directory listings are a privacy risk!
2018-11-03 02:36:29 -04:00
Aidan Fitzgerald
1af7166049
We don't need to override
2018-11-03 02:36:29 -04:00
Aidan Fitzgerald
e9c0f3ab96
Security features
2018-11-03 02:36:29 -04:00
Aidan Fitzgerald
65aa02c556
Fix templating and add comments to httpd config file
2018-11-03 02:36:29 -04:00
Aidan Fitzgerald
8c312f0109
Have template compute number of workers wanted
2018-11-03 02:36:29 -04:00
Aidan Fitzgerald
fabb435019
Start creating webapp.sh script template
...
See https://github.com/ascoderu/opwen-webapp/blob/master/setup/setup-lokole.sh#L384
2018-11-03 02:36:27 -04:00
Aidan Fitzgerald
0f54fb57bd
Lokole interfaces with httpd via a Unix domain socket
2018-11-03 02:35:17 -04:00
Angela Liu
5cb9dfe5b7
Update password encryption
2018-11-03 02:35:17 -04:00
Angela Liu
86fba55954
Add missing parentheses in template and make sure run directory exists
2018-11-03 02:35:17 -04:00
Aidan Fitzgerald
95fea93dac
Add missing end quotes
2018-11-03 02:34:12 -04:00
Aidan Fitzgerald
593bd01fcd
Setup config file for local-only mode, add password generation
2018-11-03 02:34:12 -04:00
Aidan Fitzgerald
e139469b45
Hardcode OPWEN_CLIENT_NAME to iiab + hostname
2018-11-03 02:34:12 -04:00
Aidan Fitzgerald
51ef6e74c8
Add config file template
2018-11-03 02:34:10 -04:00
Aidan Fitzgerald
80d9d341bf
Substitute 'mediawiki' with 'lokole'
2018-11-03 02:33:23 -04:00
Aidan Fitzgerald
ecce959c22
Copy files from mediawiki role
2018-11-03 02:30:23 -04:00
rgangela99
244be9f2d7
Add /lokole/ to path for links from webapp
2018-11-03 02:27:44 -04:00
rgangela99
83e6627861
add systemd service and add task to compile translations
2018-11-03 02:27:44 -04:00
Aidan Fitzgerald
4681099cba
Use Apache's domain socket URI syntax
2018-11-03 02:27:44 -04:00
Aidan Fitzgerald
bf21c330a9
/static only contains static content, not attachments
...
This reverts commit cf75610fcf
.
2018-11-03 02:27:44 -04:00
Aidan Fitzgerald
825052fac7
Directory listings are a privacy risk!
2018-11-03 02:27:44 -04:00
Aidan Fitzgerald
3bbd63e00d
We don't need to override
2018-11-03 02:27:44 -04:00