mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
etesync-server: rename to etebase
Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
; The script /etc/init.d/etebase creates the second symlink in the
|
||||
; following chain when starting (and deletes it when stopping the service):
|
||||
; /etc/uwsgi/vassals/etebase.ini (letting the emperor load it on-demand)
|
||||
; -> /var/etc/etebase/uwsgi.ini (in RAM)
|
||||
; -> /etc/uwsgi/vassals/etebase.available (this file)
|
||||
|
||||
[uwsgi]
|
||||
strict = true
|
||||
|
||||
plugin = python
|
||||
manage-script-name = true
|
||||
chdir = /usr/share/etebase
|
||||
mount = /etebase=etesync_server.wsgi:application
|
||||
pidfile = /var/etc/etebase/master.pid
|
||||
|
||||
enable-threads = true
|
||||
thunder-lock = true
|
||||
post-buffering = 8192
|
||||
harakiri = 60
|
||||
lazy-apps = true
|
||||
master = true
|
||||
idle = 600
|
||||
|
||||
plugin = syslog
|
||||
; disable-logging only affects req-logger:
|
||||
disable-logging = true
|
||||
log-format=%(method) %(uri) => return %(status) (%(rsize) bytes in %(msecs) ms)
|
||||
req-logger = syslog:etebase_req
|
||||
|
||||
logger = etebase syslog:etebase_main
|
||||
ignore-sigpipe = true
|
||||
ignore-write-errors = true
|
||||
|
||||
if-env = UWSGI_EMPEROR_FD
|
||||
; the regular expression leaves for successful de/activation only one line each:
|
||||
log-route = etebase ^(?!... Starting uWSGI |compiled with version: |os: Linux|nodename: |machine: |clock source: |pcre jit |detected number of CPU cores: |current working directory: |writing pidfile to |detected binary path: |chdir.. to |your processes number limit is |your memory page size is |detected max file descriptor number: |lock engine: |thunder lock: |uwsgi socket |setgid.. to |setuid.. to |Python version: |Python main interpreter initialized at |python threads support |your server socket listen backlog is limited to |your mercy for graceful operations on workers is |mapped |... Operational MODE: |... uWSGI is running in multiple interpreter mode ...|spawned uWSGI worker |mounting |WSGI app |announcing my loyalty to the Emperor...|workers have been inactive for more than |SIGINT/SIGQUIT received...killing workers...|worker |goodbye to uWSGI.)
|
||||
end-if =
|
||||
|
||||
if-not-env = UWSGI_EMPEROR_FD
|
||||
log-route = etebase .*
|
||||
vacuum = true
|
||||
socket = /var/run/etebase.socket
|
||||
end-if =
|
||||
|
||||
chmod-socket = 660
|
||||
chown-socket = etebase:nogroup
|
||||
uid = etebase
|
||||
gid = nogroup
|
||||
Reference in New Issue
Block a user