You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-db/hsqldb/files/hsqldb

20 lines
364 B

#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
use net
}
start() {
ebegin "Starting HSQL Database"
hsqldb_enable=yes /var/lib/hsqldb/bin/hsqldb start
eend $?
}
stop() {
ebegin "Stopping HSQL Database"
hsqldb_enable=yes /var/lib/hsqldb/bin/hsqldb stop
eend $?
}