Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:services:storage_services:backup:tsm:admin:start_in_screen [2019/03/29 11:35]
bnachtw
en:services:storage_services:backup:tsm:admin:start_in_screen [2019/03/29 12:01]
bnachtw
Line 8: Line 8:
 But how to make it start after a reboot automatically?​ But how to make it start after a reboot automatically?​
  
-  - put the starting call in a script, calling it for this example ''​start_lm.sh'':​ <​code>​echo "/​opt/​tivoli/​tsm/​server/​bin/​rc.dsmserv -u lm -i /lm/config/ -q" > /​lm/​start_lm.sh</​code>​ +  - put the starting call in a script, calling it for this example ''​start_lm.sh'':​ <​code>​echo "/​opt/​tivoli/​tsm/​server/​bin/​rc.dsmserv -u lm -i /lm/config/ -q" > /lm/config/​start_lm.sh</​code>​ 
-  - adept the init scrip by replacing the start call: +  - adept the init scrip (e.g. ''/​ect/​init.d/​lm''​) ​by replacing the start call: 
-    - replace <​code></​code> ​FIXME+    - replace <​code>​$serverBinDir/​rc.dsmserv -u $instance_user -i $instance_dir -q >/​dev/​null 2>&1 &</​code>​ by <​code>​ 
 +screen -S $instance_user -d -m $instance_dir/​start_$instance_user.sh &</​code>​