等效于带有 Mono 的 OSX 上的 Windows 服务 [英] Equivalent of a Windows Service on OSX with Mono

查看:12
本文介绍了等效于带有 Mono 的 OSX 上的 Windows 服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要做什么才能让我的 .NET-Mono 应用程序在 OSX 上作为后台进程运行并在操作系统启动时启动?(假设应用程序已经准备好在 OSX 上运行)

What do I need to do to have my .NET-Mono application run as a background process on OSX and start when the OS starts up? (Assuming the application is otherwise ready to go on OSX)

为可在 Windows 和 OS X 上运行的 .NET 应用构建安装程序?

推荐答案

正如 ShuggyCoUk 所说,那篇文章已经过时了.在 10.4 中,OS X 做了一些根本性的改变.您要阅读的指南是系统启动编程主题.简短的回答是使用 launchd".

As ShuggyCoUk notes, that article is very out of date. In 10.4, OS X made some some radical changes. The guide you want to read is System Startup Programming Topics. The short answer is "use launchd."

这篇关于等效于带有 Mono 的 OSX 上的 Windows 服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆