Re: difference bet service in win2k & daemons in linux?

From: Matthias Tacke (Matthias_at_Tacke.de)
Date: 06/03/04


Date: Thu, 3 Jun 2004 17:21:46 +0200

Davide Bianchi wrote:

>In comp.os.linux.misc Matthias Tacke <Matthias@tacke.de> wrote:
>> I don't pretend being a long time windows programmer, but it is easy and
>> only takes a bit time to proof that you are wrong.
>
>We are going from OT to way-OT, but if you have same code to share
>I'll be delighted to see it. Remove the 'yeahsure' form my address.
>
Ah, I see the position for that sentence was choosen badly.
IMO (your) arguments to differentiate between daemon and service aren't
that valid. A Hello World doesn't make sense for both. If an an app has
a gui and needs it, the app is split up in front and back end, the back
end being daemon or service. (Hamster comes to my mind a mail/nntp prog)

>> If you don't mind downloading the 12mb w2k3 server reskit (containing
>> srvany.exe) :
>
>I know Srvany, I've used many time. Problem is, sometimes it doesn't
>work. Afaik when the 'application-wannabe-service' want to display
>something on the screen srvany can't run the application.
>
>Davide
>
You can pass arguments to your service via a registry entry. Didn't test
it myself, but redirecting stdout may work that way.

-- 
Greetings
Matthias


Relevant Pages

  • Re: difference bet service in win2k & daemons in linux?
    ... IMO arguments to differentiate between daemon and service aren't ... If an an app has ... >something on the screen srvany can't run the application. ...
    (comp.os.linux.misc)
  • Re: Re : Desktop Display of Website Alerts
    ... my notifications sidebar would show ... create some a daemon which listens for simple push and then uses dbus to ... App is installed: ...
    (GNOME)
  • Re: New iPhone - apps quit on launch
    ... Presumably you have the app itself ... partial request of the daemon and is then quit before it con complete ... can use to quit apps etc. ... I've only just discovered SBsettings, ...
    (uk.comp.sys.mac)
  • Re : Desktop Display of Website Alerts
    ... I'm not part of the Gnome team, but I think it might be a better idea to create some a daemon which listens for simple push and then uses dbus to communicate the notification. ... App sends a message to dbus telling the daemon to Register with a PushServer ...
    (GNOME)
  • Re: mlock(1)
    ... > priveleged users to execute a daemon such that none of the memory the ... Hard to say if it's a policy decision outside the scope of the app. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)