[Mono-list] service support

Albert Ritmeester aritmeester at gmail.com
Mon Jan 12 04:14:43 EST 2009

Did you already try mono-service2? You can use it to start a windows service


Usage is: /usr/bin/mono-service2 [options] service

    -d:<directory>         Working directory
    -l:<lock file>         Lock file (default is /tmp/<service>.lock)
    -m:<syslog name>       Name to show in syslog
    -n:<service name>      Name of service to start (default is first
    --debug                Do not send to background nor redirect
    --no-daemon            Do not send to background nor redirect

Controlling the service:

    kill -USR1 `cat <lock file>`    Pausing service
    kill -USR2 `cat <lock file>`    Continuing service
    kill `cat <lock file>`          Ending service


On Mon, Jan 12, 2009 at 9:48 AM, sojan <sojankallara at yahoo.com> wrote:

> Can anybody help me to make my program a service in linux
> i am using the fedora10 OS
> thanks in advance
> --
> View this message in context:
> http://www.nabble.com/service-support-tp21326015p21326015.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090112/51ee553c/attachment.html 

More information about the Mono-list mailing list