×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2009
    Posts
    95

    close my application after uninstallation?

    hi everydoby?
    i have a problem when uninstall my application i want to close it.
    my application is client server application when the user uninstall the app the server continues running i want to close it so i put the following code in the postrm file
    Code:
    killall -q myServer
    this code runs fine if the server is running but if it was not running the package fail to uninstall

    is there any solution?

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: close my application after uninstallation?

    I think it should be prerm script.
    However, daemons are supposed to be controlled with upstart:
    http://upstart.ubuntu.com/getting-started.html
    http://linux.die.net/man/8/initctl

Similar Threads

  1. Application close in mobile?
    By SymbianTH in forum Open C/C++
    Replies: 1
    Last Post: 2009-10-14, 14:56
  2. J2ME Application in Flip Close Mode
    By Amit21 in forum Mobile Java General
    Replies: 1
    Last Post: 2008-01-18, 20:05
  3. J2me Application for Flip close mode.
    By Amit21 in forum Mobile Java General
    Replies: 0
    Last Post: 2008-01-17, 07:42
  4. when I launch in emulator application close imadiatly
    By ashrafzadeh in forum Mobile Java Tools & SDKs
    Replies: 10
    Last Post: 2007-03-12, 05:10
  5. Symbian installer cannot close my application
    By antonypr in forum Symbian
    Replies: 1
    Last Post: 2005-06-02, 04:10

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×