I just noted that openHab2 (installed as openhabian on a RPi3) fails to shutdown properly via
systemctl stop openhab2.
It takes ages, and then systemctl obviously decides to kill the processes instead of waiting for them for shutting down properly.
Here is what I get from
systemctl status openhab2:
[16:57:57] root@openHABianPi:/home/openhabian# systemctl status openhab2 ● openhab2.service - openHAB 2 - empowering the smart home Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled) Active: failed (Result: timeout) since Mon 2017-10-30 16:57:28 CET; 31s ago Docs: http://docs.openhab.org https://community.openhab.org Process: 11876 ExecStop=/usr/share/openhab2/runtime/bin/stop (code=exited, status=0/SUCCESS) Process: 732 ExecStart=/usr/share/openhab2/start.sh server (code=killed, signal=TERM) Main PID: 732 (code=killed, signal=TERM) Oct 30 08:54:03 openHABianPi systemd: Started openHAB 2 - empowering the smart home. Oct 30 08:54:03 openHABianPi start.sh: Launching the openHAB runtime... Oct 30 16:55:26 openHABianPi systemd: Stopping openHAB 2 - empowering the smart home... Oct 30 16:55:27 openHABianPi stop: stop: Ignoring predefined value for KARAF_HOME Oct 30 16:57:28 openHABianPi systemd: openhab2.service stop-final-sigterm timed out. Killing. Oct 30 16:57:28 openHABianPi systemd: Stopped openHAB 2 - empowering the smart home. Oct 30 16:57:28 openHABianPi systemd: Unit openhab2.service entered failed state. [16:58:00] root@openHABianPi:/home/openhabian#
- Platform information:
- Hardware: Raspberry Pi 3
- OS: openHABian Pi
- Java Runtime Environment: openjdk version “1.8.0_121”
- openHAB version: 2.1.0-1
Any Ideas what causes this issue?
Starting up afterwards seems not to be a problem at all…