Systemd Unitとは?
systemd unitは、特定のリソースをsystemdがどう管理するかを伝える宣言的なファイルで、最も一般的にはserviceですが、socket、mount、device、timerでもあり得ます。何を起動するか、順序と依存関係、restartポリシー、リソース制限を指定します。systemdはこれらのunitを読んでシステムを望ましい状態に導きます。
なぜ重要か
CIエージェント自身を含め、runner上のbackgroundエージェントは、一般にsystemd service unitとして管理されます。unitの形式を知っていることは、それらのプロセスの起動順、restart、リソース上限を制御する手段です。
関連ガイド
What Is an Init System?An init system is the first process the kernel starts; it boots and supervises other services and adopts orph…
What Is Cgroup Resource Control?Cgroup resource control uses Linux control groups to limit and account for the CPU, memory, and IO that a gro…
What Is Log Rotation?Log rotation periodically archives and replaces active log files so they do not grow without bound, keeping a…