Re: [systemd-devel] systemd DB2 StartUp/Shutdown service on Red Hat Enterprise Linux Server release 7.4 (Maipo)

2018-05-25 Thread Leonard Rofman
;/var/db2/home/achdut2/sqllib/adm/db2start' ExecStop=/bin/sh -c '/var/db2/home/achdut2/sqllib/adm/db2stop force' Restart=always Environment="DB2INSTANCE=achdut2" [Install] WantedBy=multi-user.target From: aleivag [mailto:alei...@gmail.com] Sent: Thursday, May 24, 2018

[systemd-devel] systemd DB2 StartUp/Shutdown service on Red Hat Enterprise Linux Server release 7.4 (Maipo)

2018-05-24 Thread Leonard Rofman
Hello everybody, I am DBA and trying to setup systemd service for DB2 V11 fix pack 2a (multiple instances). I've spent quite a bit of time on this setup without success so far. I was able to get "ExecStart" part to work, but system reboot is giving me troubles. DB2 crashes since "ExecStop" for s