/[gentoo-x86]/app-backup/tsm/files/dsmc.init.d
Gentoo

Contents of /app-backup/tsm/files/dsmc.init.d

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon May 14 16:12:10 2012 UTC (2 years, 3 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +0 -4 lines
Version bump (#390581) that also fixes logrotate config file (#375041), thanks a lot to Martin von Gagern that also becomes maintainer with me as proxy.

(Portage version: 2.1.10.59/cvs/Linux x86_64)

1 #!/sbin/runscript
2 # Copyright 1999-2012 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/files/dsmc.init.d,v 1.2 2010/01/27 16:47:11 dertobi123 Exp $
5
6 depend() {
7 use net
8 after dns
9 }
10
11 start() {
12 ebegin "Starting dsmc"
13 start-stop-daemon --start --background --nicelevel 15 \
14 --make-pidfile --pidfile /var/run/dsmc.pid \
15 --exec /opt/tivoli/tsm/client/ba/bin/dsmc sched ${DSMC_OPTS}
16 eend $?
17 }
18
19 stop() {
20 ebegin "Stopping dsmc"
21 # For whatever reason SIGTERM doesn't affect the dsmc process, but
22 # SIGHUP makes it exit cleanly
23 start-stop-daemon --stop \
24 --signal 1 \
25 --pidfile /var/run/dsmc.pid
26 eend $?
27 }

  ViewVC Help
Powered by ViewVC 1.1.20