Table of Contents

Currently viewing version: 0.8.0.1

Identifier interpretation

The following table provides a comprehensive understanding of various identifiers used in the system. These identifiers are replaced with specific values before the parsing process to write generic frontend files. If an identifier is invalid, it will remain unchanged. In this context, the term user refers to the owner of the process.

Identifier Meaning Replaced by
@I Instance name For instantiated services, this is the string between the first @ character and the rest of the instantiated service name. For non-instantiated services, it is the service name.
@U User name The user name. If the user is 0, it is replaced by root.
@u User UID The numeric user ID (UID).
@G User group The user group name.
@g User GID The numeric group ID (GID).
@H User home directory The user's home directory. For user 0, it is /root.
@S User shell The user’s shell.
@R User runtime directory The user's runtime directory. For user 0, it is /run; for other users, it corresponds to $XDG_RUNTIME_DIR.

By understanding these identifiers and their replacements, you can effectively create and manage service files, ensuring that user-specific details are correctly populated during the service parsing process.

Examples of identifiers usage