Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d1fd34065d
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 30 lines (25 sloc) 0.778 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: $

pidfile=/var/run/storagnt.pid
description="Adaptec Storage Agent"
name="StorAgnt"
instdir=/opt/StorMan

depend() {
after net
}

start() {
ebegin "Starting Adaptec Storage Agent"
cd /opt/StorMan || return 1
start-stop-daemon --quiet --start --make-pidfile \
--pidfile "${pidfile}" --background --exec java \
-- -Djava.compiler=NONE -cp /opt/StorMan/RaidMan.jar \
com.ibm.sysmgt.raidmgr.agent.ManagementAgent $*
eend $? "Failed to start Adaptec Storage Agent"
}

stop() {
ebegin "Stopping Adaptec Storage Agent"
start-stop-daemon --stop --quiet --pidfile "${pidfile}"
eend $? "Failed to stop Adaptec Storage Agent"
}
Something went wrong with that request. Please try again.