代码之家  ›  专栏  ›  技术社区  ›  TWA

Linux Mono相当于.NET Windows服务[重复]

  •  5
  • TWA  · 技术社区  · 15 年前

    我有一个.NET Windows服务,我想在Linux上移植到Mono。

    在Linux上安装该服务,使其像Windows服务一样工作(例如,自动启动、在没有用户登录时运行等)的正确方法是什么?

    2 回复  |  直到 15 年前
        1
  •  2
  •   Community CDub    8 年前

    你可以看看这个 thread .

        2
  •  2
  •   MiffTheFox    15 年前

    您必须将您的软件注册为 守护进程 通过编写一个脚本 init.d .