1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-10-05 09:13:38 +00:00

Merge branch 'usersep'

This commit is contained in:
Kristóf Tóth 2018-04-05 17:38:21 +02:00
commit 59810a194e
6 changed files with 7 additions and 3 deletions

View File

@ -8,4 +8,5 @@ crp_config:
controller: controller:
ports: ["4444/controller"] ports: ["4444/controller"]
solvable: solvable:
capabilities: ["SETUID", "SETGID", "CHOWN", "AUDIT_WRITE", "DAC_OVERRIDE"]
ports: ["8888/http"] ports: ["8888/http"]

View File

@ -14,6 +14,4 @@ RUN chown -R ${AVATAO_USER} ${TFW_WEBIDE_WD} &&\
chmod -R 755 ${TFW_WEBIDE_WD} chmod -R 755 ${TFW_WEBIDE_WD}
VOLUME ["/home/${AVATAO_USER}"] VOLUME ["/home/${AVATAO_USER}"]
USER ${AVATAO_USER}
WORKDIR /home/${AVATAO_USER} WORKDIR /home/${AVATAO_USER}

View File

@ -43,7 +43,7 @@ toggle_next.button_state = False
if __name__ == '__main__': if __name__ == '__main__':
# pylint: disable=invalid-name # pylint: disable=invalid-name
ide = SourceCodeEventHandler(key='webide', directory=TFWENV.WEBIDE_WD, exclude=['*.pyc']) ide = SourceCodeEventHandler(key='webide', allowed_directories=[TFWENV.WEBIDE_WD], directory=TFWENV.WEBIDE_WD, exclude=['*.pyc'])
terminado = TerminadoEventHandler(key='shell', monitor=BashMonitor(TFWENV.HISTFILE)) terminado = TerminadoEventHandler(key='shell', monitor=BashMonitor(TFWENV.HISTFILE))
terminado.historymonitor.subscribe_callback(cenator) terminado.historymonitor.subscribe_callback(cenator)
terminado.historymonitor.subscribe_callback(selectdir) terminado.historymonitor.subscribe_callback(selectdir)

View File

@ -1,3 +1,4 @@
[program:event_handler_main] [program:event_handler_main]
user=root
directory=%(ENV_TFW_APP_DIR)s directory=%(ENV_TFW_APP_DIR)s
command=python3 event_handler_main.py command=python3 event_handler_main.py

View File

@ -0,0 +1,4 @@
[program:tfwserver]
user=root
directory=%(ENV_TFW_APP_DIR)s
command=python3 tfw_server.py