Utility for converting init-exporter
procfiles from v1 to v2 format.
To build the init-exporter-converter
from scratch, make sure you have a working Go 1.18+ workspace (instructions), then:
go install github.com/funbox/init-exporter-converter@latest
sudo yum install -y https://yum.kaos.st/kaos-repo-latest.el$(grep 'CPE_NAME' /etc/os-release | tr -d '"' | cut -d':' -f5).noarch.rpm
sudo yum install init-exporter-converter
Usage: init-exporter-converter {options} procfile…
Options
--config, -c file Path to init-exporter config
--in-place, -i Edit procfile in place
--no-colors, -nc Disable colors in output
--help, -h Show this help message
--version, -v Show version
Examples
init-exporter-converter -i config/Procfile.production
Convert Procfile.production to version 2 in-place
init-exporter-converter -c /etc/init-exporter.conf Procfile.*
Convert all procfiles to version 2 with defaults from init-exporter config and print result to console
Branch | Status |
---|---|
Stable | |
Unstable |