fix: revert cache dir change

This commit is contained in:
Emmanuel BENOîT 2025-01-02 10:58:09 +01:00
parent da42f6db52
commit ab00e5ee08
Signed by: Emmanuel BENOîT
SSH key fingerprint: SHA256:l7PFUUF5TCDsvYeQC9OnTNz08dFY7Fvf4Hv3neIqYpg
2 changed files with 2 additions and 5 deletions

View file

@ -63,15 +63,12 @@ EOC
a2ensite lwb5-main
a2ensite lwb5-admin
mkdir /var/cache/lw
chmod 1777 /var/cache/lw
mkdir /var/spool/pgen
chgrp www-data /var/spool/pgen
chmod 1775 /var/spool/pgen
EOF
VOLUME /var/spool/pgen /var/cache/lw
VOLUME /var/spool/pgen
EXPOSE 80 81
ENTRYPOINT ["/opt/lwb5/run-lwb5.sh"]

View file

@ -12,7 +12,7 @@ $config = array(
"scriptdir" => __DIR__,
// Path to the cache
"cachedir" => "/var/cache/lw",
"cachedir" => "/tmp/lwcache",
// Debugging level
"debug" => 2,