Success with start-stop-daemon and mono-service2?

前端 未结 4 1024
情深已故
情深已故 2020-12-28 10:49

Has anyone had any success using start-stop-daemon and mono-service2 together? I\'ve been fighting this for a few days now and have gotten various bits to work, but have ha

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-28 11:40

    I got this script working with a couple of minor changes:

    • A pidfile in /var/run only works if you run as root - if you try to run the script without sudo, mono-service will fail silently.

    • Use --pidfile instead of --name to find the service to stop.

提交回复
热议问题