Date: Mon, 17 Dec 2018 15:49:46 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 234100] couchdb2 service keeping stdout open Message-ID: <bug-234100-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234100 Bug ID: 234100 Summary: couchdb2 service keeping stdout open Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: reshadpatuck1@gmail.com Hey, I noticed running service couchdb2 start via ssh keeps the ssh connect= ion open, even after it is done. This is not a problem when running without a parent shell. Test case: on a server make this script: ``` #!/bin/sh echo "Start" service couchdb2 restart echo "Done" ``` now ssh to the server and run the script (without a shell) ``` ssh myserver.com sh /path/to/script.sh ``` The script will run and both Start and Done will be printed but the ssh will remain open even though the script is done. Changing the script to pipe the service command to /dev/null fixed this. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234100-7788>