pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gnunet: set pidfile
Module Name: pkgsrc-wip
Committed By: nikita <nikita%NetBSD.org@localhost>
Pushed By: nikita
Date: Fri Apr 8 21:04:37 2022 +0200
Changeset: 49fdb6127858f137f2673c53fe0beccfdaed0b14
Modified Files:
gnunet/files/gnunet.in
gnunet/files/gnunetuser.in
Log Message:
gnunet: set pidfile
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=49fdb6127858f137f2673c53fe0beccfdaed0b14
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gnunet/files/gnunet.in | 2 +-
gnunet/files/gnunetuser.in | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diffs:
diff --git a/gnunet/files/gnunet.in b/gnunet/files/gnunet.in
index a73d083d7a..660282d9ae 100755
--- a/gnunet/files/gnunet.in
+++ b/gnunet/files/gnunet.in
@@ -18,7 +18,7 @@ rcvar=${name}
command="@PREFIX@/lib/gnunet/libexec/gnunet-service-arm"
command_args="-c @PKG_SYSCONFDIR@/gnunet.conf -d -l @VARBASE@/chroot/gnunet/cache/gnunet-%Y-%m-%d.log"
required_files="@PKG_SYSCONFDIR@/gnunet.conf"
-pidfile="/dev/null"
+pidfile="/tmp/gnunet-gnunet-runtime/gnunet-service-arm.sock"
: ${gnunet_user:=gnunet}
: ${gnunet_group:=gnunet}
: ${gnunet_home:=@VARBASE@/chroot/gnunet}
diff --git a/gnunet/files/gnunetuser.in b/gnunet/files/gnunetuser.in
index b997e025ad..bd5e64d039 100755
--- a/gnunet/files/gnunetuser.in
+++ b/gnunet/files/gnunetuser.in
@@ -30,7 +30,7 @@ fi
command_args="-c ${gnunetuser_user_home}/.config/gnunet.conf"
required_files="${gnunetuser_user_home}/.config/gnunet.conf"
-pidfile="/dev/null"
+pidfile="/tmp/gnunet-${gnunetuser_user}-runtime/gnunet-service-arm.sock"
start_cmd="gnunet_start"
start_precmd="gnunet_precmd"
@@ -56,7 +56,7 @@ gnunet_precmd()
gnunet_start()
{
@ECHO@ "Starting ${name}."
- doit="@SU@ -m ${gnunetuser_user} -c '${gnunet_env} ${command} ${command_args} -s'"
+ doit="@SU@ -m ${gnunetuser_user} -c '${gnunet_env} ${command} ${command_args} --log=DEBUG -s'"
eval $doit
}
Home |
Main Index |
Thread Index |
Old Index