Systemd services killed

Some help required please to understand why three services that have been installed are being killed on/after booting the system.

Frontail - installed via openhabian-config

openhabian@openhabian:~ $ journalctl -u frontail -b
-- Logs begin at Thu 2021-02-18 15:06:13 AWST, end at Fri 2021-02-19 12:25:01 AWST. --
Feb 19 08:47:12 openhabian systemd[1]: Started Frontail openHAB instance, reachable at http://openhabian:9001.
Feb 19 08:47:13 openhabian systemd[1]: Stopping Frontail openHAB instance, reachable at http://openhabian:9001...
Feb 19 08:47:13 openhabian systemd[1]: frontail.service: Main process exited, code=killed, status=15/TERM
Feb 19 08:47:13 openhabian systemd[1]: frontail.service: Succeeded.
Feb 19 08:47:13 openhabian systemd[1]: Stopped Frontail openHAB instance, reachable at http://openhabian:9001.

Here’s the file: /etc/systemd/system/frontail.service

[Unit]
Description=Frontail openHAB instance, reachable at http://%H:9001
Documentation=https://github.com/mthenw/frontail
After=openhab.service
PartOf=openhab.service

[Service]
Type=simple
ExecStart=/usr/lib/node_modules/frontail/bin/frontail --ui-highlight --ui-highlight-preset /usr/lib/node_modules/frontail/preset/openhab_dark.json -t openhab_dark -l 2000 -n 200 /var/log/openhab/openhab.log /var/log/openhab/events.log
Restart=always
User=frontail
Group=openhab
Environment=PATH=/usr/bin/
Environment=NODE_ENV=production
WorkingDirectory=/usr/bin/

[Install]
WantedBy=multi-user.target

Same thing is occuring for Influxdb and Grafana (both installed via apt-get, manually configured).

Feb 19 08:48:12 openhabian systemd[1]: influxdb.service: Main process exited, code=killed, status=13/PIPE

Feb 19 08:54:02 openhabian systemd[1]: grafana-server.service: Main process exited, code=killed, status=13/PIPE

All three services operate normally if I start them with sudo systemctl start servicename.service

  • Platform information:
    • Hardware: RaspberryPI 4 2G
    • OS: Linux openhabian 5.4.83-v7l+ #1379
    • Java Runtime Environment: Zulu11.43+88-CA (build 11.0.9+11-LTS)
    • openHAB version: 3.0

Di you enable them to start after a boot?

sudo systemctl enable grafana-server.service

You have an oldish service definition and might suffer from a problem that has been present some time ago. Reinstall frontail from the menu.

So now that you chose to install them yourself rather than to use the openHABian menu to, please don’t expect anyone to help in getting it going ON openHABian - sorry.

Yes both grafana and influxdb enabled as per your command above. I installed frontail again from the openhabian-config and now openhab does not automatically start :frowning_face:Something is messed up. I’ll try a clean install of eveything via openhab-config.