mirror of
https://tangled.org/tranquil.farm/tranquil-pds
synced 2026-08-16 22:36:07 +00:00
25 lines
419 B
Plaintext
Executable File
25 lines
419 B
Plaintext
Executable File
#!/sbin/openrc-run
|
|
|
|
name="tranquil-pds-pod"
|
|
description="Tranquil PDS podman pod"
|
|
|
|
depend() {
|
|
need net
|
|
after firewall
|
|
}
|
|
|
|
start() {
|
|
ebegin "Creating ${name}"
|
|
podman pod exists tranquil-pds || \
|
|
podman pod create --name tranquil-pds \
|
|
--publish 80:80 \
|
|
--publish 443:443
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Removing ${name}"
|
|
podman pod rm -f tranquil-pds
|
|
eend $?
|
|
}
|