File structure
This commit is contained in:
11
config/openrc.sh
Normal file
11
config/openrc.sh
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user