Change extension of service file
This commit is contained in:
@@ -9,7 +9,10 @@ cargo install podman-openrc
|
||||
# Usage
|
||||
```sh
|
||||
podman-openrc <INPUT TOML FILE> <OUTPUT OPENRC FILE>
|
||||
# For example: podman-openrc input.toml output.service.sh
|
||||
# For example: podman-openrc input.toml output.service
|
||||
|
||||
# or:
|
||||
podman-openrc ./input-folder /etc/init.d
|
||||
```
|
||||
|
||||
# TOML service description format
|
||||
@@ -70,7 +73,7 @@ read_only = true # Whether to use ro mode, optional
|
||||
# Optionally you can use Podman secrets in an array
|
||||
[[secrets]]
|
||||
key = "<SECRET KEY>" # Secret key used in `podman secret`
|
||||
target = "<TARGET SECRET FILE>" # Target secret filename in /var/run/secrets. Optional, defaults to the key
|
||||
target = "<TARGET SECRET FILE>" # Target secret filename in {/var}/run/secrets. Optional, defaults to the key
|
||||
|
||||
# Between environment and secrets: get secret from Podman and set it as environment variable
|
||||
[[environment_secrets]]
|
||||
|
||||
Reference in New Issue
Block a user