pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gnunet: gnunetuser service needs more debugging.



Module Name:	pkgsrc-wip
Committed By:	nikita <nikita%NetBSD.org@localhost>
Pushed By:	nikita
Date:		Tue Mar 22 22:41:51 2022 +0100
Changeset:	3de44d285081a0eebcdc475deba582d180fce24a

Modified Files:
	gnunet/files/gnunetuser.in

Log Message:
gnunet: gnunetuser service needs more debugging.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3de44d285081a0eebcdc475deba582d180fce24a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gnunet/files/gnunetuser.in | 6 ++++++
 1 file changed, 6 insertions(+)

diffs:
diff --git a/gnunet/files/gnunetuser.in b/gnunet/files/gnunetuser.in
index fbf7fe047a..ec4adcba2c 100755
--- a/gnunet/files/gnunetuser.in
+++ b/gnunet/files/gnunetuser.in
@@ -60,11 +60,17 @@ gnunet_start()
 	eval $doit
 }
 
+# stopping this is broken (with one service hanging around until you KILL it).
 gnunet_stop()
 {
 	@ECHO@ "Stopping ${name}."
 	doit="@SU@ -m ${gnunetuser_user} -c '${gnunet_env} ${command} ${command_args} -e'"
 	eval $doit
+	# kill `cat ${pidfile}` 2>/dev/null
+	# check_pidfile
+	# kill ${pid}
+	# sleep 1
+	# @RM@ -rf "/tmp/gnunet-${gnunetuser_user}-runtime" 2>/dev/null 2>&1
 }
 
 if [ -f /etc/rc.subr -a -f /etc/rc.conf -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]; then


Home | Main Index | Thread Index | Old Index