<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Supervisor on 小惡魔 - AppleBOY</title><link>https://blog.wu-boy.com/tags/supervisor/</link><description>Recent content in Supervisor on 小惡魔 - AppleBOY</description><generator>Hugo</generator><language>en-us</language><managingEditor>appleboy.tw@gmail.com (Appleboy)</managingEditor><webMaster>appleboy.tw@gmail.com (Appleboy)</webMaster><lastBuildDate>Mon, 20 Sep 2021 18:55:22 +0800</lastBuildDate><atom:link href="https://blog.wu-boy.com/tags/supervisor/feed.xml" rel="self" type="application/rss+xml"/><item><title>用 Supervisor 管理系統程式</title><link>https://blog.wu-boy.com/2021/09/control-system-process-using-supervisor-in-golang/</link><pubDate>Mon, 20 Sep 2021 18:55:22 +0800</pubDate><author>appleboy.tw@gmail.com (Appleboy)</author><guid>https://blog.wu-boy.com/2021/09/control-system-process-using-supervisor-in-golang/</guid><description>&lt;p&gt;&lt;img src="https://i.imgur.com/4uBJZAG.png" alt="cover"&gt;&lt;/p&gt;
&lt;p&gt;相信大家都有管理 Linux 主機 Process 的經驗，用的工具也是千奇百種，但是肯定對 &lt;a href="https://www.python.org/"&gt;Python&lt;/a&gt; 版本的 &lt;a href="http://supervisord.org/"&gt;Supervisor&lt;/a&gt; 並不陌生，這套工具相當好用，可以監控不同的 Process 狀態，也可以自動重啟。而本篇要介紹用 &lt;a href="http://golang.org/"&gt;Go 語言&lt;/a&gt;寫出來的開源套件『&lt;a href="https://github.com/ochinchina/supervisord"&gt;Supervisord&lt;/a&gt;』，作者提到為什麼要用 Go 語言開發此工具，原因很簡單，就是透過 Go 語言的跨平台優勢，寫一套程式，可以直接跑在任何平台，管理者就不需要再為了 Python 環境而煩惱。&lt;/p&gt;</description></item></channel></rss>