With 7.1 clients, at least, there is a systemd unit file included with the
client: /opt/tivoli/tsm/client/ba/bin/dsmcad.service
On 09/28/2016 10:20 AM, Josep Manel Andrés wrote:
> Hi,
> I am trying to do a systemd (Unit file script) to launch dsmcad:
>
>
> [Unit]
> Description=Tivoli Storage Manager Client
> After=network.target
>
> [Service]
> Type=oneshot
> ExecStart=/usr/bin/dsmcad
> RemainAfterExit=yes
>
> [Install]
> WantedBy=multi-user.target
>
>
> Would that be OK?
> Because as you can see here, MAIN PID an actuall PID doesn't match.
>
> # systemctl status dsmcad.service
> dsmcad.service - Tivoli Storage Manager Client
> Loaded: loaded (/etc/systemd/system/dsmcad.service; enabled)
> Active: active (exited) since Wed 2016-09-28 11:55:23 CEST; 5h 22min ago
> Main PID: 2266 (code=exited, status=0/SUCCESS)
> CGroup: /system.slice/dsmcad.service
> └─2475 /usr/bin/dsmcad
>
>
> # ps aux | grep dsmc
> root 2475 0.0 0.0 299700 10548 ? Sl 11:55 0:00
> /usr/bin/dsmcad
>
> I would apreciate if anyone has an example
>
> Cheers!
>
--
Hello World. David Bronder - Systems Architect
Segmentation Fault ITS-EI, Univ. of Iowa
Core dumped, disk trashed, quota filled, soda warm. david-bronder AT uiowa
DOT edu
|