Scroll to navigation

UTRANS-RC(1) User Commands UTRANS-RC(1)

NAME

utrans-rc - convert systemd units using utrans(1) and then save or install them

SYNOPSIS

utrans-rc [-h] [-o <OUTPUT_DIR>] [-u | <SOURCE_DIR>..]
    

OPTIONS

The following commandline options are supported:-

show usage
save generated files to subdirectories of <OUTPUT_DIR>
only check for new/modified/deleted units; ignores <SOURCE_DIR> and update

DESCRIPTION

utrans-rc scans the source directory/directories for systemd.service(5) and systemd.timer(5) units. If no source directory is specified, /etc/systemd/system is scanned to obtain the units installed and enabled by the package manager or the system administrator.

Each unit is converted using utrans(1).

If <OUTPUT_DIR> is specified, generated files are saved there. Otherwise, the files are installed beneath /etc using sudo(8) and ucf(1) to preserve user modifications. If installation would overwrite any files in a package known to dpkg(1) then the whole unit is skipped.

SEE ALSO

utrans(1), ucf(1)

COPYRIGHT

BSD-2-Clause License <https://opensource.org/licenses/BSD-2-Clause>

Copyright (c) 2023-2024, Mark Hindley

AUTHORS

Mark Hindley <mark@hindley.org.uk>

July 2024 Version 0.1