PT

.service D-Bus service file

Texto e código-fonte

Tipo MIMEtext/x-dbus-service
text/x-systemd-unit
DescriçãoD-Bus service file
CategoriaTexto e código-fonte
Assinatura (magic bytes)5B 44 2D 42 55 53 20 53 65 72 76 69 63 65 5D 0A ([D-BUS Service].)
Baseado emtext/plain

Perguntas frequentes

O que é um arquivo .service?

A extensão .service é usada por vários formatos: D-Bus service file (text/x-dbus-service) e Systemd unit file (text/x-systemd-unit).

Como abro um arquivo .service?

Com qualquer editor de texto – Notepad++, Visual Studio Code, ou gedit e vim no Linux. O arquivo contém texto legível, possivelmente código-fonte ou configuração.

Como reconhecer um arquivo .service verdadeiro?

Pelos bytes do início do arquivo, a assinatura (magic bytes): 5B 44 2D 42 55 53 20 53 65 72 76 69 63 65 5D 0A ([D-BUS Service].). No Linux e no macOS, file --mime-type example.service verifica o tipo real independentemente da extensão.

Em qual formato .service se baseia?

Tecnicamente, um arquivo .service é um subtipo de “Plain text document” (text/plain); por isso, programas para esse formato base muitas vezes também conseguem lê-lo.

Qual tipo MIME corresponde a .service?

O tipo MIME é text/x-dbus-service. No servidor web Apache: AddType text/x-dbus-service .service; no nginx: types { text/x-dbus-service service; }.

Entradas próximas