Re: Native systemd unit for tsm client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Why are you starting dsmc explicitly - isn't it started by dsmcad?
Here's what we've been using:

[Unit]
Description=DSM Client Acceptor
After=network.target

[Service]
Type=forking
ExecStart=-/usr/bin/dsmcad -errorlogname=/var/log/dsmerror.log
Environment=LANG=en_US
StandardOutput=syslog
GuessMainPID=no

[Install]
WantedBy=multi-user.target

For some reason the PID guessing does not work, so we force it to use cgroups.

- Thomas


2011/12/15 "Jóhann B. Guðmundsson" <johannbg@xxxxxxxxx>:
> Here's an native tsm client service for your fedora running
> workstation/server since it's probably going to be awhile before IBM catches
> up to systemd...
>
> ### tsm-client.service ###
>
> [Unit]
> Description=Tivoly Storage Manager Client
> After=network.target
>
> [Service]
> Type=oneshot
> Environment=DSM_LOG=/var/log/tsm
> ExecStart=/usr/bin/dsmcad
> ExecStart=/bin/bash -c "exec /usr/bin/dsmc sched > /dev/null 2>&1 &"
> RemainAfterExit=yes
>
> [Install]
> WantedBy=multi-user.target
>
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux