Files
tranquil-pds/deploy/openrc/tranquil-pds-pod
T
LewisandTangled 44cb016762 fix(docs): install docs better
Lewis: May this revision serve well! <lu5a@proton.me>
2026-05-26 09:49:59 +03:00

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 $?
}