mthenw/frontail

multiple File in Daemon Mode not working

hermann1514 opened this issue · 3 comments

Hi,
if i start frontail with 2 Log File and a wildcard from commandline it working fine.
But if i configure it in daemon mode this is not working.

Working:
Commandline: frontail /path/filename1* /path2/filename2*

In Daemon Mode not working:

#!/bin/sh -
[Unit]
Description=Frontail

[Service]
ExecStart=/usr/bin/frontail --ui-highlight -t dark "/path/filename1*" "/path/filename2*"
Restart=always
User=xxxx
Environment=PATH=/usr/bin/
Environment=NODE_ENV=production
WorkingDirectory=/usr/bin/

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

Some Idea?

Hey, is that still an issue?

Hey I have a similar problem. I user frontail on DietPi and try to tail openhab log files. With one file the service runs fine. When i add a second file and reload and restart everything the frontail webpage don't load.

Hey, is that still an issue?

Still an issue:

Error: ENOENT: no such file or directory, open '/var/log/openhab/openhab.log,/var/log/openhab/events.log'

It seens it concatenates the filenames