Maybe that's a bit recursive, as it's calling the regular init.d
services and then the startup scripts, and that may impede (although
I'm not sure) systemd to follow correctly the process spawing and
closure. Also, inside the [Service] section I would add options to
run the pacs as an specific user, something I really recommend.
Also, you have to make sure every file inside your dcm4chee path is
owned by the dcm4chee/pacs user. Of course, you have to create that
user too :D
Mine is something similar to this:
/usr/lib/systemd/system/dcm4chee.service
[Unit]
Description= PACS Server
After=syslog.target network.target
[Service]
Type=simple
User=pacs
Group=pacs
ExecStart=/dcm4cheepath/bin/run.sh
ExecStop=/dcm4cheepath/bin/shutdown.sh -S
[Install]
Alias=pacs
WantedBy=multi-user.target
El 04/02/16 a las 15:28, Funky Koval
escribió: