Running daemon application can't be terminated/killed from terminal.
Original Reporter info from Mantis: Cyrax
-
Reporter name:
Original Reporter info from Mantis: Cyrax
- Reporter name:
Description:
For some odd reason you can't gracefully (send TERM signal to process by kill utility or by CTRL-C in terminal) shutdown a daemon application from terminal.
Steps to reproduce:
- Install LazDaemon package into Lazarus.
- Open attached project in Lazarus.
- Compile project.
- Open terminal and goto project binary directory, run project with --run parameter.
- Open another terminal and goto project root directory, run stop-project.sh script to send TERM signal to running project.
- Observe that project doesn't shutdown properly.
Additional information:
OS is "Linux archdev 4.11.9-1-ARCH #1 SMP PREEMPT Wed Jul 5 18:23:08 CEST 2017 x86_64 GNU/Linux"
---
Free Pascal Compiler version 3.1.1-r36747 Lazarus 1.9.0 r55502 FPC 3.1.1 x86_64-linux-qt
Mantis conversion info:
- Mantis ID: 32172
- OS: Arch
- OS Build: 3.17.4-1
- Build: r36747
- Platform: Linux x86_64
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 36752 (#b34ff118)
- Target version: 3.2.0