text/x-systemd-unit
Systemd unit file
| Description | Systemd unit file |
|---|---|
| File extensions | .automount, .device, .mount, .path, .scope, .service, .slice, .socket, .swap, .target, .timer |
| Based on | text/plain |
| Signature (magic bytes) | 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].) |
Frequently asked questions
What is the MIME type text/x-systemd-unit?
text/x-systemd-unit denotes “Systemd unit file”.
Which file extension does text/x-systemd-unit use?
Files of type text/x-systemd-unit usually end in .automount, .device, .mount, .path, .scope, .service, .slice, .socket, .swap, .target and .timer.
How does a web server serve text/x-systemd-unit correctly?
With the header Content-Type: text/x-systemd-unit. In nginx: types { text/x-systemd-unit automount device mount path; }; in Apache: AddType text/x-systemd-unit .automount .device .mount .path.