text/x-systemd-unit
systemdのunitファイル
| 説明 | systemdのunitファイル |
|---|---|
| 拡張子 | .automount, .device, .mount, .path, .scope, .service, .slice, .socket, .swap, .target, .timer |
| ベース形式 | text/plain |
| シグネチャ (マジックバイト) | 0A 5B 41 75 74 6F 6D 6F 75 6E 74 5D 0A (.[Automount].)0A 5B 49 6E 73 74 61 6C 6C 5D 0A (.[Install].)0A 5B 4D 6F 75 6E 74 5D 0A (.[Mount].) |
よくある質問
MIME タイプ text/x-systemd-unit とは?
text/x-systemd-unit は「systemdのunitファイル」を表します。
text/x-systemd-unit の拡張子は?
text/x-systemd-unit のファイルは通常 .automount、.device、.mount、.path、.scope、.service、.slice、.socket、.swap、.target、.timer で終わります。
Web サーバーで text/x-systemd-unit を正しく配信するには?
ヘッダー Content-Type: text/x-systemd-unit を付けます。nginx では types { text/x-systemd-unit automount device mount path; }、Apache では AddType text/x-systemd-unit .automount .device .mount .path と設定します。