Closed sisungo closed 1 year ago
When a service is set kind = "forking", starting it waits forever.
kind = "forking"
[service] type = "forking" pid-file = "/var/run/sshd.pid" [exec] start = "/usr/sbin/sshd -f /etc/ssh/sshd_config"
Save the file as sshd.airs, and run airup start --sideload sshd.airs sshd.
sshd.airs
airup start --sideload sshd.airs sshd
The service started successfully, and the command soon returns.
The command would never returns. To query the service, the status is starting. The sshd process started by Airup keeps as a zombie process.
starting
sshd
Airup
WARNING: This is a high priority issue. It causes important functions not working.
When a service is set
kind = "forking"
, starting it waits forever.Minimal example
Save the file as
sshd.airs
, and runairup start --sideload sshd.airs sshd
.Expected Behavior
The service started successfully, and the command soon returns.
Actual Behavior
The command would never returns. To query the service, the status is
starting
. Thesshd
process started byAirup
keeps as a zombie process.