I placed the line
Code: Select all
@/usr/bin/chromium-browser --kiosk http://localhost/cgi-bin/index.cgi
As the next step toward production of this application, I want to eliminate as much as possible all writes to the SD card. With that in mind, on one of the machines I added the following to /etc/fstab:
Code: Select all
tmpfs /var/log tmpfs size=10M 0 0
Code: Select all
[Unit]
Description=Create directories in /var/log
Before=apache2.service
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/varlog
[Install]
RequiredBy=apache2.service
Code: Select all
#! /bin/bash
# Create log file directories
/bin/mkdir -p /var/log/apache2
/bin/mkdir -p /var/log/lightdm
I don't see any errors in the logs, but notably /var/log/apache2/access.log is empty on the newer machine right after boot. The moment I launch the web page manually, either from the xterm or from an external browser, an entry gets entered into access.log. I don't spot anything in /var/log on the machine where the startup is still working that is not on the one where it is not. I'm stumped.