Python script windows servcie

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mivabe

    #1

    Python script windows servcie

    I'm using a Python script om my Wildfire XMPP server to connect to
    external transports (for instantce MSN)

    I configured the script as a windows service with 'srvany' and 'instrv"
    and everything seems te work fine. The service starts with the system,
    but as soon as an local useraccount (remote desktop) logs off on the
    server the script vanishes.

    Google helped me discovering that it has something to do something with
    'CTRL_LOGOFF_EV ENT'. I know what it means but i don't know how to solve
    it. Is that something i have to configure in the script?

    I'n totally new to Python so maybe someone can point me to the right
    direction? :D

    Regards, Mivabe

    --
    No line here today ....


    Posted by news://news.nb.nu
  • Mivabe

    #2
    Re: Python script windows servcie

    Mivabe formulated the question :[color=blue]
    >
    > Google helped me discovering that it has something to do something with
    > 'CTRL_LOGOFF_EV ENT'. I know what it means but i don't know how to solve it.
    > Is that something i have to configure in the script?
    >
    > I'n totally new to Python so maybe someone can point me to the right
    > direction? :D
    >
    > Regards, Mivabe[/color]

    No-one who can help me or did i visit the wrong group for this
    'problem'?

    --
    No line here today ....


    Posted by news://news.nb.nu

    Comment

    • Serge Orlov

      #3
      Re: Python script windows servcie

      Mivabe wrote:[color=blue]
      > Mivabe formulated the question :[color=green]
      > >
      > > Google helped me discovering that it has something to do something with
      > > 'CTRL_LOGOFF_EV ENT'. I know what it means but i don't know how to solve it.
      > > Is that something i have to configure in the script?
      > >
      > > I'n totally new to Python so maybe someone can point me to the right
      > > direction? :D
      > >
      > > Regards, Mivabe[/color]
      >
      > No-one who can help me or did i visit the wrong group for this
      > 'problem'?[/color]

      Indeed. Next time you'd better ask in a windows specific list:


      You need to ignore CTRL_LOGOFF_EVE NT. Take a look for example at


      Comment

      • Mivabe

        #4
        Re: Python script windows servcie

        Serge Orlov submitted this idea :[color=blue]
        > Mivabe wrote:[color=green]
        >>
        >> No-one who can help me or did i visit the wrong group for this
        >> 'problem'?[/color]
        >
        > Indeed. Next time you'd better ask in a windows specific list:[/color]

        Ke, thnx :-)

        --
        No line here today ....


        Posted by news://news.nb.nu

        Comment

        Working...