---
name: "update-metainit"
section: "1"
platform: "linux"
package: "metainit"
version: "0.0.5"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/update-metainit"
---

# update-metainit(1)

Generates init scripts

## NAME

update-metainit - Generates init scripts

## SYNOPSIS

**update-metainit** \[**--remove** *initname* \[**--purge**\] \]

## DESCRIPTION

*Metainit* solves the problem of writing good init scripts. Instead of manually creating these important files, they are derived from a declaritive description in the metainit files in */etc/metainit*. These files can be shipped with packages or created by the local administrator.

If **update-metainit** called without argument, it will regenerate init scripts for all the files in */etc/metainit*. The generated files contain a large warning in form of a comment that they will be overridden. Modifications are preferably done in the files in */etc/metainit* and made effective by running **update-metainit**. If needed, the administrator can prevent modified init files by removing the warning comment.

## OPTIONS

- **--remove** *initname*

  This command will remove any generated and non-modified scripts that were created by the metainit file with the name *initname*.

- **--purge**

  Only usable with **--remove**. Will remove the generated files even if modified.

## SEE ALSO

[*dh\_metainit*(1)](/dh_metainit/1.md)

## AUTHOR

Joachim Breitner \<nomeata@debian.org\>
