Commit ba2886f
committed
nbd-server: drop the double-fork
... as this breaks as systemd service: This is of type 'forking', so the
(first) fork becomes the main and controlling process. The second fork
makes the main process exit, and the service is stopped.
Calling setsid() should be sufficient to detatch from terminal.
Closes: #1821 parent d1133b7 commit ba2886f
1 file changed
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3816 | 3816 | | |
3817 | 3817 | | |
3818 | 3818 | | |
3819 | | - | |
3820 | | - | |
3821 | | - | |
3822 | | - | |
3823 | | - | |
3824 | | - | |
3825 | 3819 | | |
3826 | 3820 | | |
3827 | 3821 | | |
| |||
0 commit comments