File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,9 @@ PASSWORD: admin
40
40
``` bash
41
41
pip install django-sshkm
42
42
```
43
- - Configure /etc/sshkm/sshkm.conf
44
- If you use sqlite make sure that the user running celery has read and write permissions to the db-file.
43
+ - Configure /etc/sshkm/sshkm.conf (create it if it does not exist)
44
+ You can find an example in your install directory (example: /usr/lib/python2.7/site-packages/sshkm/sshkm.conf).
45
+ If you use sqlite make sure that the user running celery (see next step) has read and write permissions to the db-file.
45
46
- Install a webserver which runs wsgi
46
47
Example Apache httpd:
47
48
```
@@ -51,7 +52,7 @@ Alias /static/ /usr/lib/python2.7/site-packages/sshkm/static/
51
52
Require all granted
52
53
</Directory>
53
54
54
- WSGIScriptAlias / /usr/lib/python2.7/site-packages/sshkm/wsgi.py
55
+ WSGIScriptAlias /sshkm /usr/lib/python2.7/site-packages/sshkm/wsgi.py/
55
56
WSGIDaemonProcess sshkm user=apache group=apache
56
57
WSGIProcessGroup sshkm
57
58
@@ -63,6 +64,7 @@ WSGIProcessGroup sshkm
63
64
```
64
65
- Run celery
65
66
```
67
+ cd /usr/lib/python2.7/site-packages
66
68
celery worker -A sshkm -l info
67
69
```
68
70
You can’t perform that action at this time.
0 commit comments