Skip to content
Snippets Groups Projects
Commit b7118f70 authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

tsm7: remove stupid ld-config for dsmc, add wrapper-script instead

parent afb712d5
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
export LD_LIBRARY_PATH="/opt/tivoli/tsm/client/ba/bin:/opt/tivoli/tsm/client/api/bin:/opt/tivoli/tsm/client/api/bin64/:/usr/local/ibm/gsk8/lib/:/usr/local/ibm/gsk8_64/lib64/:"
export LANG="en_US.utf-8"
export LC_CTYPE="en_US.utf-8"
exec /usr/bin/dsmc $@
......@@ -3,7 +3,7 @@ Description=Tivoli Storage Manager Sheduler
Documentation=https://doc.itc.rwth-aachen.de/display/BURS/Home
[Service]
ExecStart=/bin/sh -c "LANG=en_US.utf-8 LC_CTYPE=en_US.utf-8 exec /usr/bin/dsmc sched"
ExecStart=/usr/bin/local/dsmc sched
PIDFile=/var/run/dsmcshed.pid
[Install]
......
......@@ -62,9 +62,16 @@
- packages
- tsm
- name: ensure special dsmc script is in place
copy: src=dsmc dest=/usr/local/bin/dsmc mode=0755 owner=root group=root
notify:
- restart tsm service
tags:
- tsm
- config
- name: ensure special ldconfig in place
copy: src=tsm-ld.so.conf dest=/etc/ld.so.conf.d/tsm-ld.so.conf
- name: ensure special ldconfig is absent
file: path=/etc/ld.so.conf.d/tsm-ld.so.conf state=absent
notify:
- ldconfig tsm
- restart tsm service
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment