[SOLVED] Logview on ubuntu

yep, it is installed via “apt-get install nodejs”

I found the sulution, the directorys are failed,
here is the working fontail.service:

[Unit]
Description=Frontail

[Service]
ExecStart=/usr/local/bin/frontail --ui-highlight -t dark /var/log/openhab2/openhab.log /var/log/openhab2/events.log
Restart=always
User=user
Group=user
Environment=PATH=/usr/local/bin/frontail
Environment=NODE_ENV=production
WorkingDirectory=/usr/local/bin/frontail

[Install]
WantedBy=multi-user.target
Alias=frontail.service

Thanks very much to the community to find the Solution!!!

Hi All

I can get this to start and display the logs with the config below, but there is no working directory or environment paths because I just could not get the darn thing to start with the entires above. What are they needed for? Using NGINX I cannot get to http://192.168.0.3/frontail


}
location /frontail/ {
    proxy_pass http://localhost:9001;
    proxy_set_header Host                   $http_host;
    proxy_set_header X-Real-IP              $remote_addr;
    proxy_set_header X-Forwarded-For        $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto      $scheme;
}


[Unit]
Description=Frontail

[Service]
ExecStart=/usr/local/bin/frontail --ui-highlight -t dark /var/log/openhab2/openhab.log /var/log/openhab2/events.log /var/log/openhab2/zwave.log
Restart=always
User=openhab
Group=openhab

[Install]
WantedBy=multi-user.target
Alias=frontail.service


Don’t know if you solved this, but you need to use frontail with --url-path /frontail for it to work through nginx