Web de la acampada del 26S
Home con directo, comunicados y organización. HTML y CSS, sin JS. Configuración de nginx, timer del directo y limpieza de EXIF.
This commit is contained in:
commit
f78773bb87
15 changed files with 1335 additions and 0 deletions
16
deploy/directo.service
Normal file
16
deploy/directo.service
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[Unit]
|
||||
Description=acampada26s: regenera el bloque DIRECTO de la home
|
||||
After=oasis.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User=oasis
|
||||
Environment=OASIS_DIR=/home/oasis/oasis
|
||||
Environment=FEED=@CAMBIAR.ed25519
|
||||
Environment=WEB=/var/www/acampada26s.net/index.html
|
||||
# node tiene que estar en el PATH del servicio (o poner la ruta completa)
|
||||
ExecStart=/bin/sh -c 'node /opt/26s/tools/ultimos.js "$FEED" 5 | python3 /opt/26s/tools/directo.py "$WEB"'
|
||||
NoNewPrivileges=yes
|
||||
ProtectSystem=strict
|
||||
ReadWritePaths=/var/www/acampada26s.net
|
||||
PrivateTmp=yes
|
||||
Loading…
Add table
Add a link
Reference in a new issue