bionic verification: root@lp1849261-b:~# dpkg -l systemd | grep ii ii systemd 237-3ubuntu10.39 amd64 system and service manager root@lp1849261-b:~# systemctl status test failure ● test.service Loaded: loaded (/etc/systemd/system/test.service; static; vendor preset: enab Active: inactive (dead) ● failure.service Loaded: loaded (/etc/systemd/system/failure.service; static; vendor preset: e Active: inactive (dead) root@lp1849261-b:~# systemctl start test root@lp1849261-b:~# sleep 10 ; systemctl status test failure ● test.service Loaded: loaded (/etc/systemd/system/test.service; static; vendor preset: enab Active: active (running) since Sun 2020-02-16 14:42:27 UTC; 2s ago Main PID: 1338 (sh) Tasks: 2 (limit: 4702) CGroup: /system.slice/test.service ├─1338 /bin/sh -c /bin/sleep 10; /bin/false └─1342 /bin/sleep 10 Feb 16 14:42:27 lp1849261-b systemd[1]: Started test.service. ● failure.service Loaded: loaded (/etc/systemd/system/failure.service; static; vendor preset: e Active: inactive (dead) root@lp1849261-b:~# journalctl -b -u test --no-pager -- Logs begin at Fri 2019-12-13 00:52:50 UTC, end at Sun 2020-02-16 14:43:08 UTC. -- Feb 16 14:42:06 lp1849261-b systemd[1]: Started test.service. Feb 16 14:42:16 lp1849261-b systemd[1]: test.service: Main process exited, code=exited, status=1/FAILURE Feb 16 14:42:16 lp1849261-b systemd[1]: test.service: Failed with result 'exit-code'. Feb 16 14:42:16 lp1849261-b systemd[1]: test.service: Service hold-off time over, scheduling restart. Feb 16 14:42:16 lp1849261-b systemd[1]: test.service: Scheduled restart job, restart counter is at 1. Feb 16 14:42:16 lp1849261-b systemd[1]: Stopped test.service. Feb 16 14:42:16 lp1849261-b systemd[1]: Started test.service. Feb 16 14:42:26 lp1849261-b systemd[1]: test.service: Main process exited, code=exited, status=1/FAILURE Feb 16 14:42:26 lp1849261-b systemd[1]: test.service: Failed with result 'exit-code'. Feb 16 14:42:27 lp1849261-b systemd[1]: test.service: Service hold-off time over, scheduling restart. Feb 16 14:42:27 lp1849261-b systemd[1]: test.service: Scheduled restart job, restart counter is at 2. Feb 16 14:42:27 lp1849261-b systemd[1]: Stopped test.service. Feb 16 14:42:27 lp1849261-b systemd[1]: Started test.service. Feb 16 14:42:37 lp1849261-b systemd[1]: test.service: Main process exited, code=exited, status=1/FAILURE Feb 16 14:42:37 lp1849261-b systemd[1]: test.service: Failed with result 'exit-code'. Feb 16 14:42:37 lp1849261-b systemd[1]: test.service: Service hold-off time over, scheduling restart. Feb 16 14:42:37 lp1849261-b systemd[1]: test.service: Scheduled restart job, restart counter is at 3. Feb 16 14:42:37 lp1849261-b systemd[1]: Stopped test.service. Feb 16 14:42:37 lp1849261-b systemd[1]: Started test.service. Feb 16 14:42:47 lp1849261-b systemd[1]: test.service: Main process exited, code=exited, status=1/FAILURE Feb 16 14:42:47 lp1849261-b systemd[1]: test.service: Failed with result 'exit-code'. Feb 16 14:42:47 lp1849261-b systemd[1]: test.service: Service hold-off time over, scheduling restart. Feb 16 14:42:47 lp1849261-b systemd[1]: test.service: Scheduled restart job, restart counter is at 4. Feb 16 14:42:47 lp1849261-b systemd[1]: Stopped test.service. Feb 16 14:42:47 lp1849261-b systemd[1]: Started test.service. Feb 16 14:42:57 lp1849261-b systemd[1]: test.service: Main process exited, code=exited, status=1/FAILURE Feb 16 14:42:57 lp1849261-b systemd[1]: test.service: Failed with result 'exit-code'. Feb 16 14:42:57 lp1849261-b systemd[1]: test.service: Service hold-off time over, scheduling restart. Feb 16 14:42:57 lp1849261-b systemd[1]: test.service: Scheduled restart job, restart counter is at 5. Feb 16 14:42:57 lp1849261-b systemd[1]: Stopped test.service. Feb 16 14:42:57 lp1849261-b systemd[1]: Started test.service. Feb 16 14:43:07 lp1849261-b systemd[1]: test.service: Main process exited, code=exited, status=1/FAILURE Feb 16 14:43:07 lp1849261-b systemd[1]: test.service: Failed with result 'exit-code'. Feb 16 14:43:08 lp1849261-b systemd[1]: test.service: Service hold-off time over, scheduling restart. Feb 16 14:43:08 lp1849261-b systemd[1]: test.service: Scheduled restart job, restart counter is at 6. Feb 16 14:43:08 lp1849261-b systemd[1]: Stopped test.service. Feb 16 14:43:08 lp1849261-b systemd[1]: Started test.service. root@lp1849261-b:~# journalctl -b -u failure --no-pager -- Logs begin at Fri 2019-12-13 00:52:50 UTC, end at Sun 2020-02-16 14:43:18 UTC. -- -- No entries --