Hi,
I have recently migrated from Debian Wheezy to FreeBSD 9.0 Release. One of the programs I use is OpenKM which is a jboss based document management system. I was able to create an rc.d script to start this program on system startup and close the program on system shutdown. Startup works fine as there is no time limit on how long the program can take to start. But on shutdown the program couldn't close properly as the system shutdown is too fast.
I have included
in rc.d script but no difference in the results.
Is there anything more I need to do to give the program enough time to close properly before the system shutdown?
Thanks heaps,
I have recently migrated from Debian Wheezy to FreeBSD 9.0 Release. One of the programs I use is OpenKM which is a jboss based document management system. I was able to create an rc.d script to start this program on system startup and close the program on system shutdown. Startup works fine as there is no time limit on how long the program can take to start. But on shutdown the program couldn't close properly as the system shutdown is too fast.
I have included
Code:
# PROVIDES: Sopenkm java
# KEYWORD: shutdown
Is there anything more I need to do to give the program enough time to close properly before the system shutdown?
Thanks heaps,