summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2015-01-23 08:09:37 +0000
committerobache <obache@pkgsrc.org>2015-01-23 08:09:37 +0000
commit09550465f4dc520ac3b4103249b46e1db621775d (patch)
treec6527ab640d28478ed842d73406ad94d4398ad13
parent71b2cb5f9648eb852ecb0edcc9b6d7b520e75063 (diff)
downloadpkgsrc-09550465f4dc520ac3b4103249b46e1db621775d.tar.gz
tell pidfile name
-rwxr-xr-xnet/samba/files/nmbd.sh3
-rwxr-xr-xnet/samba/files/smbd.sh3
-rw-r--r--net/samba/files/winbindd.sh3
3 files changed, 6 insertions, 3 deletions
diff --git a/net/samba/files/nmbd.sh b/net/samba/files/nmbd.sh
index d267f0d9f9a..35a7f097591 100755
--- a/net/samba/files/nmbd.sh
+++ b/net/samba/files/nmbd.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: nmbd.sh,v 1.10 2005/11/14 08:05:27 jlam Exp $
+# $NetBSD: nmbd.sh,v 1.11 2015/01/23 08:09:37 obache Exp $
#
# PROVIDE: nmbd
# REQUIRE: DAEMON
@@ -10,6 +10,7 @@
name="nmbd"
rcvar=$name
command="@PREFIX@/sbin/${name}"
+pidfile="@SAMBA_PIDDIR@/${name}.pid"
required_files="@SAMBA_ETCDIR@/smb.conf"
extra_commands="reload"
command_args="-D" # _must_ start as daemon from rc.d;
diff --git a/net/samba/files/smbd.sh b/net/samba/files/smbd.sh
index 34f5fa89514..b37a6d24951 100755
--- a/net/samba/files/smbd.sh
+++ b/net/samba/files/smbd.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: smbd.sh,v 1.13 2011/01/27 07:55:39 adam Exp $
+# $NetBSD: smbd.sh,v 1.14 2015/01/23 08:09:37 obache Exp $
#
# PROVIDE: smbd
@@ -9,6 +9,7 @@
name="smbd"
rcvar=$name
command="@PREFIX@/sbin/${name}"
+pidfile="@SAMBA_PIDDIR@/${name}.pid"
required_files="@SAMBA_ETCDIR@/smb.conf"
extra_commands="reload"
command_args="-D" # _must_ start as daemon from rc.d;
diff --git a/net/samba/files/winbindd.sh b/net/samba/files/winbindd.sh
index d3cb3702ecc..0da6469d5ff 100644
--- a/net/samba/files/winbindd.sh
+++ b/net/samba/files/winbindd.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: winbindd.sh,v 1.5 2010/04/15 09:36:50 sborrill Exp $
+# $NetBSD: winbindd.sh,v 1.6 2015/01/23 08:09:37 obache Exp $
#
# PROVIDE: winbindd
# REQUIRE: DAEMON
@@ -10,6 +10,7 @@
name="winbindd"
rcvar=$name
command="@PREFIX@/sbin/${name}"
+pidfile="@SAMBA_PIDDIR@/${name}.pid"
required_files="@SAMBA_ETCDIR@/smb.conf"
extra_commands="reload"