Hi, hope you are doing good Facing issue in systemd 244 version Execstop is not executing while process crashing. Did additional testing if we restart the process via systemd "systemctl restart tr069pa" command Execstop is running properly seeing the restart log in the redirected file. The same service file was used in systemd 216 version not facing any issue in process crashing time Execstop was executed properly. could please let me know if we have any known issues.
logs: =========================================================================================== [Unit] Description=Tr069Pa service After=QandA.service ConditionPathExists=!/tmp/disableTr069 [Service] Type=forking EnvironmentFile=/etc/device.properties ExecStart=/usr/bin/Tr069Pa ExecStop=/bin/sh -c 'echo "`date`: Stopping/Restarting Tr069Pa" >> ${PROCESS_RESTART_LOG}' Restart=always StandardOutput=syslog+console ==================================================================================== 2020 Dec 16 10:18:27 systemd[1]: Tr069Pa.service: Main process exited, code=killed, status=11/SEGV 2020 Dec 16 10:18:27 systemd[1]: Tr069Pa.service: Failed with result 'signal'. 2020 Dec 16 10:18:37 systemd[1]: Tr069Pa.service: Scheduled restart job, restart counter is at 1. 2020 Dec 16 10:18:37 systemd[1]: Stopped Tr069Pa service. 2020 Dec 16 10:18:37 systemd[1]: Starting Tr069Pa service... 2020 Dec 16 10:18:37 systemd[1]: Started Tr069Pa service. ===================================================================================== Please let me know if any additional logs required. Thanks, Gowtham
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel