diff options
author | John Polstra <jdp@FreeBSD.org> | 2002-11-11 17:21:29 +0000 |
---|---|---|
committer | John Polstra <jdp@FreeBSD.org> | 2002-11-11 17:21:29 +0000 |
commit | d6a2c9b4cba86df59ff963c8652653b68ddf6066 (patch) | |
tree | a679052084f568aa13be3d836a40f2a7bf0d8e08 /net | |
parent | Unbreak: REINPLACE_CMD, actualy sed, uses different RE from perl. (diff) |
Put core dumps and crash output (cvsupd.out) into /var/run instead
of /var/tmp. Create cvsupd.out with mode 644 if it doesn't already
exist. Bump PORTREVISION.
Suggested by: Joshua Goodall <joshua@roughtrade.net>
Notes
Notes:
svn path=/head/; revision=69902
Diffstat (limited to 'net')
-rw-r--r-- | net/cvsup-mirror/Makefile | 1 | ||||
-rw-r--r-- | net/cvsup-mirror/files/cvsupd.sh | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/net/cvsup-mirror/Makefile b/net/cvsup-mirror/Makefile index 00bedfa1895d..6dda767eb8ec 100644 --- a/net/cvsup-mirror/Makefile +++ b/net/cvsup-mirror/Makefile @@ -7,6 +7,7 @@ PORTNAME= cvsup-mirror PORTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= net DISTFILES= diff --git a/net/cvsup-mirror/files/cvsupd.sh b/net/cvsup-mirror/files/cvsupd.sh index f470dd3c6070..51bd87cc36f3 100644 --- a/net/cvsup-mirror/files/cvsupd.sh +++ b/net/cvsup-mirror/files/cvsupd.sh @@ -5,7 +5,7 @@ if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/cvsupd\.sh\$"); then exit 1 fi base=${PREFIX}/etc/cvsup -rundir=/var/tmp +rundir=/var/run out=${rundir}/cvsupd.out export PATH=/bin:/usr/bin:${PREFIX}/sbin @@ -19,6 +19,7 @@ cd ${rundir} || exit arg=${1:-start} case $arg in start) + (umask 22 && touch ${out}) || exit su -f -m ${user} -c \ "cvsupd -e -C 100 -l @${facility} -b ${base} -s sup.client" \ >>${out} 2>&1;; |