mirror of
https://git.bolliret.ch/pcs/pcs-website
synced 2026-01-18 15:01:37 +01:00
7 lines
No EOL
569 B
Bash
7 lines
No EOL
569 B
Bash
#!/bin/bash
|
|
|
|
sh -c ". /opt/venv/bin/activate && exec python /opt/lektor/scripts/calendar-fetcher.py ${CALENDAR_URL} > /opt/lektor/project/content/termine/contents.lr"
|
|
# TODO Something with python and reading from docker mounts is broken but only when piping
|
|
cp /opt/lektor/project/content/contents.lr /tmp/myshadowcopyformisbehavingpython.txt
|
|
sh -c ". /opt/venv/bin/activate && exec python /opt/lektor/scripts/calendar-fetcher-main.py ${CALENDAR_URL} > /opt/lektor/project/content/contents.lr"
|
|
/root/.local/bin/lektor --project /opt/lektor/project server --host 0.0.0.0 |