diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-backup/tsm/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-backup/tsm/files')
-rw-r--r-- | app-backup/tsm/files/dsmc.conf.d | 8 | ||||
-rw-r--r-- | app-backup/tsm/files/dsmc.init.d | 28 | ||||
-rw-r--r-- | app-backup/tsm/files/dsmc.service | 10 | ||||
-rw-r--r-- | app-backup/tsm/files/dsmcad.init.d | 25 | ||||
-rwxr-xr-x | app-backup/tsm/files/dsmcad.init.d-r1 | 26 | ||||
-rw-r--r-- | app-backup/tsm/files/dsmcad.service | 12 | ||||
-rw-r--r-- | app-backup/tsm/files/tsm.logrotate | 4 |
7 files changed, 113 insertions, 0 deletions
diff --git a/app-backup/tsm/files/dsmc.conf.d b/app-backup/tsm/files/dsmc.conf.d new file mode 100644 index 000000000000..1c7578519419 --- /dev/null +++ b/app-backup/tsm/files/dsmc.conf.d @@ -0,0 +1,8 @@ +# Copyright 1999-2012 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Config file for /etc/init.d/tivoli + +# See your TSM manual for valid ops +#DSMC_OPTS="" diff --git a/app-backup/tsm/files/dsmc.init.d b/app-backup/tsm/files/dsmc.init.d new file mode 100644 index 000000000000..98fcc8384b4d --- /dev/null +++ b/app-backup/tsm/files/dsmc.init.d @@ -0,0 +1,28 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + use net + after dns +} + +start() { + ebegin "Starting dsmc" + start-stop-daemon --start --background --nicelevel 15 \ + --make-pidfile --pidfile /var/run/dsmc.pid \ + --exec /opt/tivoli/tsm/client/ba/bin/dsmc sched ${DSMC_OPTS} + eend $? +} + +stop() { + ebegin "Stopping dsmc" + # For whatever reason SIGTERM doesn't affect the dsmc process, but + # SIGHUP makes it exit cleanly + start-stop-daemon --stop \ + --signal 1 \ + --pidfile /var/run/dsmc.pid + eend $? +} + diff --git a/app-backup/tsm/files/dsmc.service b/app-backup/tsm/files/dsmc.service new file mode 100644 index 000000000000..aa25e1f74798 --- /dev/null +++ b/app-backup/tsm/files/dsmc.service @@ -0,0 +1,10 @@ +[Unit] +Description=Tivoli Storage Manager (TSM) - dsmc +After=network.target + +[Service] +Nice=15 +ExecStart=/opt/tivoli/tsm/client/ba/bin/dsmc sched + +[Install] +WantedBy=multi-user.target diff --git a/app-backup/tsm/files/dsmcad.init.d b/app-backup/tsm/files/dsmcad.init.d new file mode 100644 index 000000000000..bfe85a807a53 --- /dev/null +++ b/app-backup/tsm/files/dsmcad.init.d @@ -0,0 +1,25 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + use net + after dns dsmc +} + +start() { + ebegin "Starting dsmcad" + start-stop-daemon --start --background --nicelevel 15 \ + --make-pidfile --pidfile /var/run/dsmcad.pid \ + --exec /opt/tivoli/tsm/client/ba/bin/dsmcad + eend $? +} + +stop() { + ebegin "Stopping dsmcad" + start-stop-daemon --stop \ + --signal 1 \ + --pidfile /var/run/dsmcad.pid + eend $? +} diff --git a/app-backup/tsm/files/dsmcad.init.d-r1 b/app-backup/tsm/files/dsmcad.init.d-r1 new file mode 100755 index 000000000000..6a4fa50268c0 --- /dev/null +++ b/app-backup/tsm/files/dsmcad.init.d-r1 @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +command=/opt/tivoli/tsm/client/ba/bin/dsmcad + +depend() { + use net + after dns dsmc +} + +start() { + ebegin "Starting dsmcad" + start-stop-daemon --start --nicelevel 15 \ + --exec ${command} + eend $? +} + +stop() { + ebegin "Stopping dsmcad" + start-stop-daemon --stop \ + --signal 1 \ + --exec ${command} + eend $? +} diff --git a/app-backup/tsm/files/dsmcad.service b/app-backup/tsm/files/dsmcad.service new file mode 100644 index 000000000000..34cccedd820f --- /dev/null +++ b/app-backup/tsm/files/dsmcad.service @@ -0,0 +1,12 @@ +[Unit] +Description=Tivoli Storage Manager (TSM) - dsmcad +After=network.target dsmc.service + +[Service] +Type=forking +Nice=15 +ExecStart=/opt/tivoli/tsm/client/ba/bin/dsmcad +GuessMainPID=no + +[Install] +WantedBy=multi-user.target diff --git a/app-backup/tsm/files/tsm.logrotate b/app-backup/tsm/files/tsm.logrotate new file mode 100644 index 000000000000..656e8aff515b --- /dev/null +++ b/app-backup/tsm/files/tsm.logrotate @@ -0,0 +1,4 @@ +/var/log/tsm/*.log { + create 0660 root tsm + delaycompress +} |