dsmcad.service

[Unit]
Description="IBM Spectrum Protect Client dsmcad systemd-style service."
After=local-fs.target network-online.target

[Service]
Type=oneshot
# Language environment for ISP client acceptor
# -------------------------------------------
# adjust LANG and LC_CTYPE if necessary
#
Environment=LANG=en_US LC_CTYPE=en_US

# location of log files for ISP client acceptor/ISP client scheduler
# ---------------------------------------------------------------------
# adjust errorlogname and instrlogname if necessary
# - dsmerror.log: Error messages of the ISP scheduler
# - dsminstr.log: Instrumentation log file
# - dsmsched.log: Messages of the ISP scheduler
# - dsmwebcl.log: Messages of the ISP Client Acceptor (CAD)
#
# option 'errorlogname' sets location for dsmerror.log, dsmwebcl.log
# If option 'schedlogname' not set, also for dsmsched.log
# option 'instrlogname' sets location for dsminstr.log
#

Environment="JAVA_HOME=/opt/tivoli/tsm/tdpvmware/common/jre/jre"
Environment="LD_LIBRARY_PATH=/opt/tivoli/tsm/client/ba/bin:/opt/tivoli/tsm/tdpvmware/common/jre/jre/bin/classic"
Environment="PATH=/opt/tivoli/tsm/tdpvmware/common/jre/jre/bin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin"

ExecStart=/usr/bin/dsmcad -errorlogname=/usr/local/tsm/log/dsmerror.log -instrlogname=/usr/local/tsm/log/dsminstr.log
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target