superd(5)
π NAME π
Welcome to the superd(5) page, aka the File Formats Manual entry for superd's service configuration file format. Bestie, this is the whole vibe of how a service config file looks. β¨
π§ CONCEPTS π§
Okay so superd's service configuration file format borrows heavily from systemd's service file specification. Treat that spec as your reference, but keep in mind the differences outlined in the next section. π
The format for this configuration aims to support systemd's .service file format as much as it makes sense to. Why? Because it makes "porting" existing service files easier, since many upstream projects provide them, and it reduces the amount of effort to configure new services and maintain existing configuration. Periodt. π«Ά
π¦ DIFFERENCES FROM SYSTEMD.SERVICE π¦
The service configuration file format implementation differs from systemd.service's specification in these ways:
- The only supported service types, specified with
Type=, areoneshot,simple, andnotify. IfType=is unset, it defaults tosimple. Any other values are a runtime error. π Restart=supported values are:always,on-failure,on-success, andno. IfRestart=is unset, it defaults tonever. Any other values are a runtime error.ExecOnFailure,ExecStartPre, andExecStartPostcan hold commands that you want to run on failure, before starting, and after starting.ExecOnFailureis not present in systemd. But is planned:https://cgit.freedesktop.org/systemd/systemd/tree/TODO#n759TimeoutStopSecis currently ignored/unsupported.ExecConditionis currently ignored/unsupported.- Dependencies can be specified with only
After=andBefore=. Other systemd-supported options likeWants=are currently ignored/unsupported. - Environment variable expansion isn't the same as with systemd, and it only expands variables for arguments for the command set in
Exec=. EnvironmentFile=is currently ignored/unsupported, thoughEnvironment=is supported.- Template files are supported, kinda. The only supported specifier (the systemd specifier docs are at
https://www.freedesktop.org/software/systemd/man/systemd.unit.html#Specifiers) is%i, which it derives from the file name just as systemd does. For example, a file namedfoo@bar.servicewould substitute%iin the file withbar. It is not escaped. - There is no socket activation.
- Only one of the prefixes,
-, under "Table 1. Special executable prefixes" is supported (seesystemd.service.5for description).
π ENVIRONMENT VARIABLES π
Variables used when starting services are pulled from the following locations, in order of precedence:
- superd's default environment
- shell environment variables, from the shell which started superd
- environment variables set in
.servicefile viaEnvironment=
π SEE ALSO π
π«Ά AUTHORS π«Ά
Clayton Craft <clayton@craftyguy.net>
Okay bye bestie! This was the superd(5) manual from superd, dated 2026-10-14 β now go make those service files iconic. π
β¨
π¦ where this page comes from
- alpine 3.24: superd-doc 0.7.1-r32 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms