Monday, August 13, 2012

DB2 Express 10.1 auto start on Open Suse 12.1

Found the solution on this link http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/475468-search-inittab-entry-replacement-systemd.html


The idea is translate old initab to new systemd style.

1. /etc/systemd/system/fmc.service

[Unit]
Description=DB2 Fault Monitor Coordinator
After=getty.target

[Service]
ExecStart=/opt/ibm/db2/V10.1/bin/db2fmcd
Restart=always

[Install]
WantedBy=multi-user.target
2. systemctl enable fnc.service


No comments: