Added services, updated build script

This commit is contained in:
2022-11-03 14:50:07 +01:00
parent 2e2e1b018e
commit 6823c84e5f
4 changed files with 23 additions and 3 deletions

11
pastabble-openrc.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/sbin/openrc-run
# Copyright 2022 Plabble
start() {
podman rm pastabble-c || true
podman run --name pastabble-c -p 8080:8080 -v pastabble-v:/data -dt pastabble
}
stop() {
podman stop pastabble-c
}