mirror of
https://git.freebsd.org/ports.git
synced 2025-06-27 07:30:32 -04:00
Apache Archiva is an extensible repository management software that helps taking care of your own personal or enterprise-wide build artifact repository. It is the perfect companion for build tools such as Maven, Continuum, and ANT. Archiva offers several capabilities, amongst which remote repository proxying, security access management, build artifact storage, delivery, browsing, indexing and usage reporting, extensible scanning functionality and many more! WWW: https://archiva.apache.org PR: 203071 Submitted by: Dušan Vejnovič <freebsd@dussan.org> Differential Revision: https://reviews.freebsd.org/D15656
39 lines
584 B
Bash
39 lines
584 B
Bash
#!/bin/sh
|
|
|
|
# PROVIDE: archiva
|
|
# REQUIRE: LOGIN
|
|
# KEYWORD: shutdown
|
|
|
|
#
|
|
# Configuration settings for archiva in /etc/rc.conf:
|
|
#
|
|
# archiva_enable (bool):
|
|
# Set to "NO" by default.
|
|
# Set it to "YES" to enable archiva.
|
|
#
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="archiva"
|
|
rcvar=archiva_enable
|
|
|
|
load_rc_config $name
|
|
|
|
archiva_enable="${archiva_enable:-"NO"}"
|
|
|
|
start_cmd="archiva_start"
|
|
stop_cmd="archiva_stop"
|
|
|
|
pidfile="%%PREFIX%%/archiva/logs/archiva.pid"
|
|
|
|
archiva_start()
|
|
{
|
|
%%PREFIX%%/share/archiva/bin/archiva start
|
|
}
|
|
|
|
archiva_stop()
|
|
{
|
|
%%PREFIX%%/share/archiva/bin/archiva stop
|
|
}
|
|
|
|
run_rc_command "$1"
|