2.2 The sd-v0.2 subcommand

The sd-v0.2 subcommand generates one or more systemd unit files from their respective unit configuration files. This is the general syntax of the sd-v0.2 subcommand:

tomloader sd-v0.2 [options] <unit config files>...

where <unit config files> is a whitespace-separated list of files or paths pointing to unit configuration files.

The following options are understood by tomloader sd-v0.2:

-h
--help

Print a short help on standard output, then exit.

-V
--version

Print the current version of tomloader sd-v0.2.

-t outdir
--target-directory outdir

Save all generated systemd unit files in outdir. This option is mandatory.

-d srcdir
--directory srcdir

In addition to unit configuration files listed as <unit config files>, search unit configuration files stored in srcdir directory. This option can be specified multiple times. Only regular files are checked, it does not traverse subdirectories or follow symlinks.