12 lines
243 B
Bash
12 lines
243 B
Bash
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
start() {
|
|
podman pull docker.io/jeancloud/pelican-rclone-builder
|
|
podman run -i --rm --env-file "$DATA_DIR/.env" -v "$DATA_DIR:/usr/local/app" docker.io/jeancloud/pelican-rclone-builder
|
|
}
|
|
|
|
restart () {
|
|
start
|
|
}
|