pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gnunet: service.
Module Name: pkgsrc-wip
Committed By: nikita <nikita%NetBSD.org@localhost>
Pushed By: nikita
Date: Sat Apr 9 13:48:52 2022 +0200
Changeset: 59a43708f59861336c96e4d8fe72a2968973bd6c
Modified Files:
gnunet/files/gnunet.in
Log Message:
gnunet: service.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=59a43708f59861336c96e4d8fe72a2968973bd6c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gnunet/files/gnunet.in | 19 -------------------
1 file changed, 19 deletions(-)
diffs:
diff --git a/gnunet/files/gnunet.in b/gnunet/files/gnunet.in
index 660282d9ae..d19ea62b30 100755
--- a/gnunet/files/gnunet.in
+++ b/gnunet/files/gnunet.in
@@ -23,12 +23,8 @@ pidfile="/tmp/gnunet-gnunet-runtime/gnunet-service-arm.sock"
: ${gnunet_group:=gnunet}
: ${gnunet_home:=@VARBASE@/chroot/gnunet}
: ${gnunetdns_group:=gnunetdns}
-
start_cmd="gnunet_start"
start_precmd="gnunet_precmd"
-#stop_cmd="gnunet_stop"
-#restart_cmd="gnunet_stop ; gnunet_start"
-#restart_precmd="gnunet_precmd"
# XXX: We need to export PATH with appended /usr/pkg/{sbin,bin} to get
# the upnpc binary and others.
@@ -39,7 +35,6 @@ case "$check_path" in
;;
*)
PATH=${PATH}:@PREFIX@/bin:@PREFIX@/sbin
- # echo $PATH
;;
esac
@@ -64,22 +59,8 @@ gnunet_start()
@ECHO@ "Starting ${name}."
doit="@SU@ -m ${gnunet_user} -c '${gnunet_env} ${command} ${command_args}'"
eval $doit
- # @SU@ -m ${gnunet_user} -c '${gnunet_env} echo "${PATH}"'
}
-#gnunet_stop()
-#{
-# @ECHO@ "Stopping ${name}."
-# # doit="@SU@ -m ${gnunet_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-gnunet-runtime 2>/dev/null 2>&1
-# rm -rf /tmp/gnunet-system-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
# newer NetBSD
load_rc_config $name
Home |
Main Index |
Thread Index |
Old Index