summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-backup/tsm/files/dsmc.init.d')
-rw-r--r--app-backup/tsm/files/dsmc.init.d8
1 files changed, 6 insertions, 2 deletions
diff --git a/app-backup/tsm/files/dsmc.init.d b/app-backup/tsm/files/dsmc.init.d
index 6f4397594738..9ed84be87167 100644
--- a/app-backup/tsm/files/dsmc.init.d
+++ b/app-backup/tsm/files/dsmc.init.d
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/files/dsmc.init.d,v 1.2 2010/01/27 16:47:11 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/files/dsmc.init.d,v 1.3 2012/02/12 11:56:50 dilfridge Exp $
depend() {
use net
@@ -10,6 +10,10 @@ depend() {
start() {
ebegin "Starting dsmc"
+ # dsmc supports only these locale settings
+ export LANG=en_US
+ export LC_ALL=en_US
+
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}