mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Add rc.d files
- Bump PORTREVISION PR: ports/164876 Submitted by: Gea-Suan Lin <gslin@gslin.org> With Hat: perl@
This commit is contained in:
parent
c7d9b33ea1
commit
84d971b5e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290954
3 changed files with 40 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= MogileFS-Server
|
||||
PORTVERSION= 2.57
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils perl5
|
||||
MASTER_SITES= CPAN
|
||||
MASTER_SITE_SUBDIR= CPAN:DORMANDO
|
||||
|
@ -27,6 +28,7 @@ BUILD_DEPENDS= p5-Danga-Socket>=1.56:${PORTSDIR}/devel/p5-Danga-Socket \
|
|||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
USE_RC_SUBR= mogilefsd mogstored
|
||||
|
||||
MAN1= mogautomount.1 \
|
||||
mogilefsd.1 \
|
||||
|
|
19
sysutils/p5-MogileFS-Server/files/mogilefsd.in
Normal file
19
sysutils/p5-MogileFS-Server/files/mogilefsd.in
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
# PROVIDE: mogilefsd
|
||||
# REQUIRE: LOGIN cleanvar
|
||||
# KEYWORD: shutdown
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="mogilefsd"
|
||||
rcvar=mogilefsd_enable
|
||||
required_files=%%PREFIX%%/etc/mogtracker.conf
|
||||
|
||||
[ -z "$mogilefsd_enable" ] && mogilefsd_enable="NO"
|
||||
[ -z "$mogilefsd_flags" ] && mogilefsd_flags="--config=%%PREFIX%%/etc/mogtracker.conf"
|
||||
|
||||
run_rc_command "$1"
|
19
sysutils/p5-MogileFS-Server/files/mogstored.in
Normal file
19
sysutils/p5-MogileFS-Server/files/mogstored.in
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
# PROVIDE: mogstored
|
||||
# REQUIRE: LOGIN cleanvar
|
||||
# KEYWORD: shutdown
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="mogstored"
|
||||
rcvar=mogstored_enable
|
||||
required_files=%%PREFIX%%/etc/mogstored.conf
|
||||
|
||||
[ -z "$mogstored_enable" ] && mogstored_enable="NO"
|
||||
[ -z "$mogstored_flags" ] && mogstored_flags="-d --config=/usr/local/etc/mogstored.conf"
|
||||
|
||||
run_rc_command "$1"
|
Loading…
Add table
Reference in a new issue