On 12/15/2011 11:48 AM, Michal Schmidt wrote:
If dsmcad is indeed forking, the type is correct. Don't lie to systemd.
If dsmcad indeed creates no PID file, it's correct to not have the PIDFile=
entry.
If the main PID guessing can go wrong (for double-forking daemons that can
happen),
GuessMainP
Jóhann B. Guðmundsson" wrote:
> Nope nothing odd with specifying Type=oneshot together with
> RemainAfterExit=yes
Well, it is really odd to spacify oneshot if the service is actually a daemon.
> # systemctl start tsm-client.service && systemctl status
> tsm-client.service && ps aux | grep dsmcad
On 12/15/2011 10:38 AM, Thomas Moschny wrote:
2011/12/15 "Jóhann B. Guðmundsson":
Hum that unit file looks a bit odd to me and does not work with TSM 6.3 on
F16 atleast not here
Not sure what you mean by "a bit odd". Isn't specifying "oneshot"
together with "RemainAfterExit" more odd in this c
2011/12/15 "Jóhann B. Guðmundsson" :
> Hum that unit file looks a bit odd to me and does not work with TSM 6.3 on
> F16 atleast not here
Not sure what you mean by "a bit odd". Isn't specifying "oneshot"
together with "RemainAfterExit" more odd in this case, where a deamon
(dsmcad) in fact keeps ru
On 12/15/2011 09:08 AM, Thomas Moschny wrote:
Why are you starting dsmc explicitly - isn't it started by dsmcad?
You are right not worry about "dsmc sched" as dsmcad will call dsmc
sched and also control the webclient portion so you can just drop that line.
Probably a nasty habit from I pic
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
GuessMain
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