pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gnunet: more rc.d improvements
Module Name: pkgsrc-wip
Committed By: ng0 <ng0%n0.is@localhost>
Pushed By: ng0
Date: Thu Feb 28 21:14:33 2019 +0000
Changeset: 26221a94eafa4070b89e3236ae0e11408f5243c1
Modified Files:
gnunet/files/gnunet.in
Log Message:
gnunet: more rc.d improvements
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=26221a94eafa4070b89e3236ae0e11408f5243c1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gnunet/files/gnunet.in | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diffs:
diff --git a/gnunet/files/gnunet.in b/gnunet/files/gnunet.in
index 4f5ae08e38..0753c7231a 100755
--- a/gnunet/files/gnunet.in
+++ b/gnunet/files/gnunet.in
@@ -48,17 +48,14 @@ gnunet_precmd()
gnunet_start()
{
@ECHO@ "Starting ${name}."
- doit="@SU@ -m ${gnunet_user} -c '${command} ${command_args}'"
+ doit="@SU@ -m ${gnunet_user} -c '${command} -s ${command_args} -c @PKG_SYSCONFDIR@/gnunet.conf'"
eval $doit
- # checkconfig || return 1
- # ${command} -s -c @PKG_SYSCONFDIR@/gnunet.conf
}
gnunet_stop()
{
@ECHO@ "Stopping ${name}."
- doit="@SU@ -m ${gnunet_user} -c '${command}
- ${command} -e -c @PKG_SYSCONFDIR@/gnunet.conf
+ doit="@SU@ -m ${gnunet_user} -c '${command} -e ${command_args} -c @PKG_SYSCONFDIR@/gnunet.conf'"
kill `cat ${pidfile}` 2>/dev/null
sleep 1
rm -rf /tmp/gnunet-gnunet-runtime 2>/dev/null 2>&1
Home |
Main Index |
Thread Index |
Old Index