From: | "Tobias Scherbaum (dertobi123)" <dertobi123@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-backup/tsm/files: dsmc.conf.d dsmc.init.d |
Date: | Tue, 26 Jan 2010 19:40:34 |
Message-Id: | E1NZrH6-0008Cr-NC@stork.gentoo.org |
1 | dertobi123 10/01/26 19:40:32 |
2 | |
3 | Added: dsmc.conf.d dsmc.init.d |
4 | Log: |
5 | Initial import, #20291. Thanks to all people who participated in writing this ebuild. |
6 | (Portage version: 2.2_rc61/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-backup/tsm/files/dsmc.conf.d |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/tsm/files/dsmc.conf.d?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/tsm/files/dsmc.conf.d?rev=1.1&content-type=text/plain |
13 | |
14 | Index: dsmc.conf.d |
15 | =================================================================== |
16 | # Copyright 1999-2003 Gentoo Technologies, Inc. |
17 | # Distributed under the terms of the GNU General Public License v2 |
18 | # $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/files/dsmc.conf.d,v 1.1 2010/01/26 19:40:32 dertobi123 Exp $ |
19 | |
20 | # Config file for /etc/init.d/tivoli |
21 | |
22 | # See your TSM manual for valid ops |
23 | #DSMC_OPTS="" |
24 | |
25 | |
26 | |
27 | 1.1 app-backup/tsm/files/dsmc.init.d |
28 | |
29 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/tsm/files/dsmc.init.d?rev=1.1&view=markup |
30 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/tsm/files/dsmc.init.d?rev=1.1&content-type=text/plain |
31 | |
32 | Index: dsmc.init.d |
33 | =================================================================== |
34 | #!/sbin/runscript |
35 | # Copyright 1999-2003 Gentoo Technologies, Inc. |
36 | # Distributed under the terms of the GNU General Public License v2 |
37 | # $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/files/dsmc.init.d,v 1.1 2010/01/26 19:40:32 dertobi123 Exp $ |
38 | |
39 | depend() { |
40 | use net |
41 | after dns |
42 | } |
43 | |
44 | start() { |
45 | ebegin "Starting dsmc" |
46 | source /etc/profile |
47 | cd /var/log/tivoli |
48 | start-stop-daemon --start --background --nicelevel 15 \ |
49 | --make-pidfile --pidfile /var/run/dsmc.pid \ |
50 | --exec /opt/tivoli/tsm/client/ba/bin/dsmc sched ${DSMC_OPTS} |
51 | eend $? |
52 | } |
53 | |
54 | stop() { |
55 | ebegin "Stopping dsmc" |
56 | # For whatever reason SIGTERM doesn't affect the dsmc process, but |
57 | # SIGHUP makes it exit cleanly |
58 | start-stop-daemon --stop \ |
59 | --signal 1 \ |
60 | --pidfile /var/run/dsmc.pid |
61 | eend $? |
62 | } |