logout/shutdown script
I am running JDictd (http://www.informatik.uni-leipzig.de/~duc/Java/JDictd/) from tcsh in Terminal on Mac OS X =Darwin=FreeBSD/Mach).
I am trying to get it to exit cleanly silently upon Mac OS X system shutdown.
My idea was that if there was a logout script in FreeBSD (basically a script that would run at each logout), then I could send a QUIT or TERM signal from there.
Is there a way to have a script that would run at each logout and/or shutdown? Or does anyone have a better idea?
Thanks a bunch!
Jens
Report this post to a moderator |
I am running JDictd (http://www.informatik.uni-leipzig.de/~duc/Java/JDictd/) from tcsh in Terminal on Mac OS X =Darwin=FreeBSD/Mach).
I am trying to get it to exit cleanly silently upon Mac OS X system shutdown.
My idea was that if there was a logout script in FreeBSD (basically a script that would run at each logout), then I could send a QUIT or TERM signal from there.
Is there a way to have a script that would run at each logout and/or shutdown? Or does anyone have a better idea?
Thanks a bunch!
Jens
Report this post to a moderator |